Chapter 10. Managing Indexes

Substring index (sub) is a costly index to maintain, but it allows efficient searching against substrings within entries. Substring indexes are limited to a minimum of three characters for each entry.

For example, searches of the form cn=*derson , match the common names containing strings such as Bill Anderson, Jill Henderson, or Steve Sanderson. Similarly, the search for telephonenumber= *555* returns all the entries in the directory with telephone numbers that contain 555.

International index speeds up searches for information in international directories. The process for creating an international index is similar to the process for creating regular indexes, except that it applies a matching rule by associating an object identifier (OID) with the attributes to be indexed.

The supported locales and their associated OIDs are listed in Appendix D, Internationalization. If to configure the Directory Server to accept additional matching rules, contact Red Hat Professional Services.

Browsing index, or virtual list view (VLV) index, speeds up the display of entries in the Directory Server Console. This index is particularly useful if a branch of your directory contains hundreds of entries; for example, the ou=people branch. You can create a browsing index on any branch point in the directory tree to improve display performance through the Directory Server Console or by using the vlvindex command-line tool, which is explained in the Directory Server Configuration, Command, and File Reference.

1.2. About Default, System, and Standard Indexes

When you install Directory Server, a set of default and system indexes is created per database instance. To maintain these indexes, the directory uses standard indexes.

1.2.1. Overview of Default Indexes

The default indexes can be modified depending on the directory indexing needs. Always ensure that no server plug-ins or other servers depend on a default index before removing it.

Table 10.1, “Default Indexes” lists the default indexes installed with the directory.

Attribute

Eq

Pres

Sub

Purpose

 

 

 

 

 

cn

 

 

 

Improves the

 

 

 

 

performance of

 

 

 

 

the most

 

 

 

 

common types of

 

 

 

 

user directory

 

 

 

 

searches.

 

 

 

 

 

givenName

 

 

 

Improves the

 

 

 

 

 

364

Page 384
Image 384
HP UX Red Hat Direry Server Software manual About Default, System, and Standard Indexes, Overview of Default Indexes