Deleting Indexes From The Command Line; Deleting An Index Entry - Netscape DIRECTORY SERVER 6.01 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

The Delete Browsing Index dialog box appears displaying the status of the
5.
index deletion. You can click on the Status Logs button to view the status of the
indexes deleted. Once the indexing is complete, click on Close to close the
Delete Browsing Index box.

Deleting Indexes From the Command Line

You can browsing index, or virtual list view (VLV) indexes using the
command-line utility as follows:
Delete an entire index entry or delete unwanted index types from an existing
index entry using the
Generate the new set of indexes to be maintained by the server using the
script.
db2index.pl
The following sections describe the steps involved in deleting an index.

Deleting an Index Entry

Use the
ldapdelete
or the unwanted index types from an existing entry.
If you want to delete the indexes for a particular database, you remove your index
entry from the
cn=index,cn= instanceName ,cn=ldbm
database,cn=plugins,cn=config
the name of the database.
To delete a default index, remove it from the
indexes,cn=config,cn=ldbm database,cn=plugins,cn=config
For example, you want to delete presence, equality and substring indexes for the sn
attribute on the database named
You want to delete the following entry:
dn: cn=sn,cn=index,cn=Example1,cn=ldbm database,cn=plugins,cn=config
objectClass:top
objectClass:nsIndex
cn:sn
nsSystemIndex:false
nsIndexType:pres
nsIndexType:eq
nsIndexType:sub
nsMatchingRule:2.16.840.1.113730.3.3.2.3.1
command-line utility.
ldapdelete
command-line utility to delete either the entire indexing entry
entry, where
Example1
cn= instanceName
cn=default
.
Chapter 10
Deleting Indexes
ldapdelete
corresponds to
entry.
Managing Indexes
359

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents