Directory Server Console Help

    

Matching Rules

Use the Matching Rules tab to view all the matching rules used by the directory. The table includes matching rules from plug-ins you have created.You cannot edit the standard matching rules.

Matching rules provide guidelines for how the server compares strings during a search operation. In an international search, the matching rule tells the server what collation order and operator to use. 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.

Name. Contains a list of all the user-defined and standard matching rules currently available to the directory. Standard matching rules are named according to the following syntax:

AttributeSyntax SearchType-Lang

Where AttributeSyntax is the type of attribute on which this matching rule may be applied, SearchType is the type of search for which this matching rule may be applied, and Lang is the abbreviated code for the locale of the matching rule.

The possible name types include:

OID. The object identifier of the matching rule's locale. Each locale supported by the directory has an associated collation order OID.

Syntax. Displays the syntax of the matching rule's locale. Matching rule syntax is defined as "Directory String" and is used internally by the directory.

Description. Contains the two character language tag of the locale. If necessary to distinguish regional differences in language, the language tag may also contain a country code, which is a two-character uppercase string (as defined in ISO standard 3166). The language code and country code are separated by a hyphen. For example, the language tag used to identify the British English locale is en-GB.



    

Copyright (C) Sun Microsystems, Inc. Used by permission.
Copyright (C) 2005 Red Hat, Inc. All rights reserved.


This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, V1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/).


Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder.


Distribution of the work or derivative of the work in any standard (paper) book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder.


Last Updated March 31, 2005