International Search Examples
491
(=, >=, >, <, <=) 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 B.3,
“Search Types, Operators, and Suffixes”
summarizes each type of search, the operator, and the
equivalent suffix.
Search Type
Operator
Suffix
Less-than
<
.1
Less-than or equal-to
<=
.2
Equality
=
.3
Greater-than or equal-to
>=
.4
Greater-than
>
.5
Substring
*
.6
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
Содержание DIRECTORY SERVER 8.0
Страница 18: ...xviii ...
Страница 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Страница 30: ...12 ...
Страница 112: ...94 ...
Страница 128: ...110 ...
Страница 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Страница 224: ...206 ...
Страница 324: ...306 ...
Страница 334: ...316 ...
Страница 358: ...340 ...
Страница 410: ...392 ...
Страница 420: ...402 ...
Страница 444: ...426 ...
Страница 454: ...436 ...
Страница 464: ...446 ...
Страница 484: ...466 ...
Страница 512: ...494 ...
Страница 522: ...504 ...