Red Hat Directory Server 8.0 Administrator's Guide

The server adds the attribute to the Additional Indexes table.
6. Select the checkbox for each type of index to maintain for each attribute.
7.
To create an index for a language other than English, enter the OID of the collation order to
use in the Matching Rules field.
To index the attribute using multiple languages, list multiple OIDs separated by commas, but
no whitespace. For a list of languages, their associated OIDs, and further information
regarding collation orders, see Appendix D, Internationalization.
8. Click Save.
9. The Indexes dialog box appears, displaying the status of the index creation and informing
you when the indexes have been created. Click the Status Logs box to view the status of the
indexes created. Once the indexing is complete, click Close.
The new index is immediately active for any new data that you add and any existing data in your
directory. You do not have to restart your server.
2.2. Creating Indexes from the Command-Line
Creating presence, equality, approximate, substring, and international indexes for specific
attributes from the command-line involves two steps:
1. Using the ldapmodify command-line utility to add a new index entry or edit an existing index
entry. See Section 2.2.1, “Adding an Index Entry”.
2. Running the db2index.pl Perl script to generate the new set of indexes to be maintained by
the server. See Section 2.2.2, “Running the db2index.pl Script”.
NOTE
You cannot create new system indexes because system indexes are hard-coded
in Directory Server.
2.2.1. Adding an Index Entry
Use ldapmodify
1
to add the new index attributes to your directory.
To create a new index that will become one of the default indexes, add the new index
attributes to the cn=default indexes,cn=config,cn=ldbm database,
Creating Indexes from the Command-Line
373