Contents      Dochome     
Sun Java(TM) System Directory Server Online Help



Matching Rules Tab of Schema Configuration

The matching rules tab displays all of the matching rules available for use 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.

Schema checking. The status line above this tab indicates whether schema checking is enabled or disabled. When schema checking is enabled, only entries conforming to the object classes and attribute syntaxes defined on the schema tabs may be created in the entire directory. By default, schema checking is enabled.

Use the button in the upper right to disable or enable schema checking.

Name. This column contains a list of all the user-defined and standard matching rules currently available to the directory. To see the entire column of matching rule names, you may need to resize the column width by dragging the column heading separator bar to the right. Standard matching rules are named according to the following syntax:

AttributeSyntaxSearchType-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:

  • caseExactOrderingMatch-(Lang)

  • caseExactSubstringMatch-(Lang)

  • caseIgnoreOrderingMatch-(Lang)

  • caseIgnoreSubstringMatch-(Lang)

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. Lists 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.

See Also

Appendix C, "Directory Internationalization," in the Sun Java System Directory Server Reference Manual.


Contents      Dochome     
Copyright 2005 Sun Microsystems, Inc. All rights reserved.