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

Table of Contents

Advertisement

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
To run the
ldapdelete
directory containing the utility:
cd /usr/netscape/servers/shared/bin
command-line utility.
ldapdelete
command-line utility to delete either the entire indexing entry
entry, where
Example1
command-line utility, type the following to change to the
cn= instanceName
cn=default
.
Chapter 10
Deleting Indexes
ldapdelete
corresponds to
entry.
Managing Indexes
361

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents