Red Hat Directory Server 8.0 Administrator's Guide

Search Type Operator Suffix
Substring * .6
Table B.3. Search Types, Operators, and Suffixes
4.3. International Search Examples
The following sections show examples of how to perform international searches on directory
data. Each example gives all the possible matching rule filter formats so that you can become
familiar with the formats and select the one that works best.
4.3.1. Less-Than Example
Performing a locale-specific search using the less-than operator (<), or suffix (.1) searches for
all attribute values that come before the given attribute in a specific collation order.
For example, to search for all surnames that come before the surname Marquez in the Spanish
collation order, any of the following matching rule filters would work:
sn:2.16.840.1.113730.3.3.2.15.1:=< Marquez
...
sn:es:=< Marquez
...
sn:2.16.840.1.113730.3.3.2.15.1.1:=Marquez
...
sn:es.1:=Marquez
4.3.2. Less-Than or Equal-to Example
Performing a locale-specific search using the less-than or equal-to operator (<=), or suffix (.2)
searches for all attribute values that come at or before the given attribute in a specific collation
order.
For example, to search for all room numbers that come at or before room number CZ422 in the
Hungarian collation order, any of the following matching rule filters would work:
roomNumber:2.16.840.1.113730.3.3.2.23.1:=<= CZ422
...
roomNumber:hu:=<= CZ422
...
roomNumber:2.16.840.1.113730.3.3.2.23.1.2:=CZ422
...
roomNumber:hu.2:=CZ422
4.3.3. Equality Example
Appendix B. Finding Directory Entries
568