International Search Examples - Red Hat DIRECTORY SERVER 8.0 - ADMINISTRATION Administration Manual

Hide thumbs Also See for DIRECTORY SERVER 8.0 - ADMINISTRATION:
Table of Contents

Advertisement

(=, >=, >, <, <=) 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.
"Search Types, Operators, and Suffixes"
equivalent suffix.
Search Type
Less-than
Less-than or equal-to
Equality
Greater-than or equal-to
Greater-than
Substring
Table B.3. Search Types, Operators, and Suffixes
B.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.
B.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
B.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
summarizes each type of search, the operator, and the
Operator
<
<=
=
>=
>
*

International Search Examples

Table B.3,
Suffix
.1
.2
.3
.4
.5
.6
491

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 8.0 - ADMINISTRATION and is the answer not in the manual?

Questions and answers

Table of Contents