Index rules specifications for attributes
Specifying an indexing rule for an attribute controls the creation and maintenance of special indexes on the attribute values.
Indexing rules improves the response time to searches with filters
that include those attributes. The five possible types of indexing
rules are related to the operations applied in the search filter.
- Equality
- Applies to the following search operations:
- equalityMatch '='
"cn = John Doe" - Ordering
- Applies to the following search operation:
- greaterOrEqual '>='
- lessOrEqual '<='
"sn >= Doe" - Approximate
- Applies to the following search operation:
- approxMatch '~='
"sn ~= doe" - Substring
- Applies to the search operation by using the substring syntax:
- substring '*'
"sn = McC*" "cn = J*Doe" - Reverse
- Applies to the following search operation:
- '*' substring
"sn = *baugh"