International Search Examples; Less-Than Example; Table B-3 Search Types, Operators, And Suffixes - Red Hat DIRECTORY SERVER 7.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Approximate, or phonetic, and presence searches are supported only in English.
As with a regular
ldapsearch
operators to define the type of search. However, when invoking an international
search, you can either use the standard operators (=, >=, >, <, <=) in the value
portion of the search string, or you can 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 summarizes each type of search, the operator, and the equivalent
suffix.
Table B-3
Search Types, Operators, and Suffixes
Search Type
Less-than
Less-than or equal-to
Equality
Greater-than or equal-to
Greater-than
Substring

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
for you.

Less-Than Example

When you perform a locale-specific search using the less-than operator (<), or
suffix (
), you search for all attribute values that come before the given attribute in
.1
a specific collation order.
For example, to search for all surnames that come before the surname Marquez in
the Spanish collation order, you could use any of the following matching rule
filters:
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
search operation, an international search uses
Operator
<
<=
=
>=
>
*
Searching an Internationalized Directory
Suffix
.1
.2
.3
.4
.5
.6
Appendix B
Finding Directory Entries
603

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Directory server 7.1

Table of Contents