Creating Indexes
Expand the Data node, expand the suffix of the database you want to index,
2.
and select the database.
Select the Indexes tab in the right pane.
3.
NOTE
If the attribute you want to index is listed in the Additional Indexes table, skip
4.
to Step 6. Otherwise, click Add Attribute.
A dialog box appears containing a list of all of the available attributes in the
server schema.
Select the attribute you want to index, and click OK.
5.
The server adds the attribute to the Additional Indexes table.
Select the checkbox for each type of index you want to maintain for each
6.
attribute.
If you want to create an index for a language other than English, enter the
7.
OID of the collation order you want to use in the Matching Rules field.
You can index the attribute using multiple languages by listing 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."
Click Save.
8.
The Indexes dialog box appears, displaying the status of the index creation
and informing you when the indexes have been created. You can click on the
Status Logs box to view the status of the indexes created. Once the indexing is
complete, click Close to close the Indexes dialog box.
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.
Creating Indexes from the Command-Line
You can create presence, equality, approximate, substring, and international
indexes for specific attributes from the command-line.
398
Red Hat Directory Server Administrator's Guide • May 2005
Do not click on the Database Settings node because this will take
you to the Default Index Settings window and not the window for
configuring indexes per database.
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers