HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

B.5.1.1.4 Using a language tag and suffix for the matching rule
As an alternative to using a relational operator-value pair, append a suffix that represents a specific
operator to the language tag in the matching rule portion of the filter. Combine the language tag
and suffix as follows:
attr: language-tag+suffix:=value
For example, to search for all surnames that come at or after La Salle in the French collation
order, use the following filter:
sn:fr.4:=La Salle
For a list of locales supported by the Directory Server and their associated language tags, see
Table 85 (page 574). For a list of relational operators and their equivalent suffixes, see
Table 83 (page 566).
B.5.1.2 Using wildcards in matching rule filters
When performing a substring search using a matching rule filter, use the asterisk (*) character as
a wildcard to represent zero or more characters.
For example, to search for an attribute value that starts with the letter l and ends with the letter n,
enter a l*n in the value portion of the search filter. Similarly, to search for all attribute values
beginning with the letter u, enter a value of u* in the value portion of the search filter.
To search for a value that contains the asterisk (*) character, the asterisk must be escaped with
the designated escape sequence, \5c2a. For example, to search for all employees with
businessCategory attribute values of Example*Net product line, enter the following
value in the search filter:
Example\5c2a*Net product line
B.5.2 Supported search types
The Directory Server supports the following types of international searches:
equality (=)
substring (*)
greater-than (>)
greater-than or equal-to (>=)
less-than (<)
less-than or equal-to (<=)
Approximate, or phonetic, and presence searches are supported only in English.
As with a regular ldapsearch search operation, an international search uses operators to define
the type of search. However, when invoking an international search, either use the standard
operators (=, >=, >, <, <=) in the value portion of the search string, or use a special type of
operator, called a suffix (not to be confused with the directory suffix), in the matching rule portion
of the filter. Table 83 (page 566) summarizes each type of search, the operator, and the equivalent
suffix.
Table 83 Search types, operators, and suffixes
SuffixOperatorSearch type
.1<Less-than
.2<=Less-than or equal-to
.3=Equality
.4>=Greater-than or equal-to
.5>Greater-than
.6*Substring
566 Finding Directory Entries