HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3332, November 2013)

8. Create the appropriate telephone number substring index entries for 408 555 8834.
9. Create the appropriate description substring index entries for Manufacturing lead for
the Z238 line of widgets. A large number of substring entries are generated for this
string.
As this example shows, the number of actions required to create and maintain databases for a
large directory can be resource-intensive.
Creating indexes
This section describes how to create presence, equality, approximate, substring, and international
indexes for specific attributes using the Directory Server Console and the command line.
NOTE:
Because Directory Server 8.1 can operate in either a single or multidatabase environment, remember
to create new indexes in every database instance because newly-created indexes are not
automatically created in the other databases. However, the same is not true for default indexes
because they are automatically present and maintained in subsequent database instances but not
added to existing ones. In other words, the directory uses the most recently-created set of default
indexes in subsequent databases. This means that if you add a default index to your second
database instance, it will not be maintained in your first database instance but will be maintained
in any subsequent instances.
NOTE:
The procedure for creating browsing indexes is different than for creating other index types; that
procedure is covered in “Creating browsing indexes from the server console” (page 457).
“Creating indexes from the server console” (page 454)
“Creating indexes from the command line” (page 455)
“Using a cn=tasks entry to create an index” (page 457)
“Creating browsing indexes from the server console” (page 457)
“Creating browsing indexes from the command line” (page 458)
Creating indexes from the server console
This section describes how to create presence, equality, approximate, substring, and international
indexes for specific attributes using the Directory Server Console.
To create any of these indexes:
1. Select the Configuration tab.
2. Expand the Data node, expand the suffix of the database to index, and select the database.
3. Select the Indexes tab in the right pane.
NOTE:
Do not click the Database Settings node because this opens the Default Index Settings window,
not the window for configuring indexes per database.
4. If the attribute to be indexed is listed in the Additional Indexes table, go to step 6. Otherwise,
click Add Attribute to open a dialog box with a list of all the available attributes in the server
schema.
5. Select the attribute you want to index, and click OK.
The server adds the attribute to the Additional Indexes table.
6. Select the checkbox for each type of index to maintain for each attribute.
454 Managing Indexes