Index rules attached to attributes make it possible to retrieve information faster. If only the attribute is given, no indexes are maintained. Directory Server provides the following indexing rules:
Specifying an indexing rule for an attribute controls the creation and maintenance of special indexes on the attribute values. This greatly improves the response time to searches with filters which include those attributes. The five possible types of indexing rules are related to the operations applied in the search filter.
"cn = John Doe"
"sn >= Doe"
"sn ~= doe"
"sn = McC*" "cn = J*Doe"
"sn = *baugh"
At a minimum, it is recommended that you specify equal indexing on any attributes that are to be used in search filters.