HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

“Deleting browsing indexes from the server console” (page 464)
“Deleting browsing indexes from the command line” (page 464)
CAUTION:
Do not delete system indexes because deleting them can significantly affect Directory Server
performance. System indexes are located in the cn=index,cn=instance,cn=ldbm
database,cn=plugins,cn=config entry and the cn=default
indexes,cn=config,cn=ldbm database,cn=plugins,cn=config entry.
Also, be cautious when deleting default indexes because this can also affect how Directory Server
works.
11.4.1 Deleting indexes from the server console
The Directory Server Console allows you to delete any indexes you have created, indexes used
by other server applications such as a messaging or web server, and default indexes.
NOTE:
You cannot delete system indexes.
To delete indexes using the Directory Server Console:
1. Select the Configuration tab.
2. Expand the Data node and expand the suffix associated with the database containing the
index.
3. Select the database from which to delete the index.
4. Locate the attribute containing the index to delete. Clear the checkbox under the index.
To delete all indexes maintained for a particular attribute, select the attribute's cell under
Attribute Name, and click Delete Attribute.
5. Click Save.
A Delete Index warning dialog box opens, requiring a confirmation to delete the index.
6. Click Yes to delete the index.
7. The Delete Browsing Index dialog box appears displaying the status of the index deletion.
Click the Status Logs button to view the status of the indexes deleted.
8. After the indexing is complete, click Close.
11.4.2 Deleting indexes from the command line
Creating browsing indexes, or virtual list view (VLV) indexes, using the ldapdelete command
line utility has two steps:
1. Delete an entire index entry or delete unwanted index types from an existing index entry using
the ldapdelete command line utility (“Deleting an index entry” (page 462)).
2. Generate the new set of indexes to be maintained by the server using the db2index.pl Perl
script (“Running the db2index.pl script” (page 463)).
11.4.2.1 Deleting an index entry
Use the ldapdelete command line utility to delete either the entire indexing entry or the unwanted
index types from an existing entry.
To delete the indexes for a particular database, remove the index entry from the
cn=index,cn=database_name,cn=ldbm database,cn=plugins,cn=config entry,
where cn=database_name corresponds to the name of the database.
To delete a default index, remove it from the cn=default indexes,cn=config,cn=ldbm
database,cn=plugins,cn=config entry.
462 Managing Indexes