Matching Rule Filter Syntax; Matching Rule Formats - Netscape DIRECTORY SERVER 6.01 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Searching an Internationalized Directory

Matching Rule Filter Syntax

A matching rule provides special guidelines for how the directory compares
strings during a search operation. In an international search, the matching rule tells
the system what collation order and operator to use when performing the search
operation. For example, a matching rule in an international search might tell the
server to search for attribute values that come at or after llama in the Spanish
collation order. The syntax of the matching rule filter is as follows:
attr:matchingRule:=value
where:
attr is an attribute belonging to entries you're searching for, such as
matchingRule is a string that identifies either the collation order or the collation
order and a relational operator, depending on the format you prefer. For a
discussion of matching rule formats, see "Matching Rule Formats," on
page 514.
value is either the attribute value you want to search for or a relational operator
plus the attribute value you want to search for.The syntax of the value portion
of the filter depends on the matching rule format you use.

Matching Rule Formats

The matching rule portion of a search filter can be represented in several ways. The
one you use is a matter of personal preference. The matching rule can be
represented in the following ways:
As the OID of the collation order for the locale on which you want to base your
search.
As the language tag associated with the collation order on which you want to
base your 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:
Using an OID for the Matching Rule
Using a Language Tag for the Matching Rule
Using an OID and Suffix for the Matching Rule
514
Netscape Directory Server Administrator's Guide • January 2002
or
cn
mail

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents