Matching Rule Filter Syntax

As the OID of the collation order for the locale on which to base the search.

As the language tag associated with the collation order on which to base the search.

As the OID of the collation order and a suffix that represents a relational operator.

As the language tag associated with the collation order and a suffix that represents a relational operator.

The syntax for each of these options is discussed in the following sections:

Section 4.1.1.1, “Using an OID for the Matching Rule”

Section 4.1.1.2, “Using a Language Tag for the Matching Rule”

Section 4.1.1.3, “Using an OID and Suffix for the Matching Rule”

Section 4.1.1.4, “Using a Language Tag and Suffix for the Matching Rule”

4.1.1.1. Using an OID for the Matching Rule

Each locale supported by the Directory Server has an associated collation order OID. For a list of locales supported by the directory server and their associated OIDs, see Table D.1, “Supported Locales”.

The collation order OID can be used in the matching rule portion of the matching rule filter as follows:

attr:OID:=(relational_operator value)

The relational operator is included in the value portion of the string, separated from the value by a single space. For example, to search for all departmentNumber attributes that are at or after

N4709 in the Swedish collation order, use the following filter:

departmentNumber:2.16.840.1.113730.3.3.2.46.1:=>= N4709

4.1.1.2. Using a Language Tag for the Matching Rule

Each locale supported by the Directory Server has an associated language tag. For a list of locales supported by the directory server and their associated language tags, see Table D.1, “Supported Locales”.

The language tag can be used in the matching rule portion of the matching rule filter as follows:

attr:language-tag:=(relational_operator value)

565

Page 585
Image 585
HP UX Red Hat Direry Server Software Using an OID for the Matching Rule, Using a Language Tag for the Matching Rule, 565