Query Operators In Matching Rules - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Handling Extensible Match Filters
The server checks the value returned by the filter matching function:
If the entry matches the filter, the server verifies that the entry is in the scope
4.
of the search before returning the entry to the LDAP client as a search result.

Query Operators in Matching Rules

As mentioned in "How the Server Handles the Filter," on page 145, the server
uses a query operator when searching the index for possible candidates.
This applies to the
backend or if you have not set up indexing by matching rules, the server does not
make use of the query operator.
The server checks the value of the
parameter to determine which operator is specified. The following table lists the
possible values for this parameter.
Table 11-3
Operator
SLAPI_OP_LESS
SLAPI_OP_LESS_OR_EQUAL
SLAPI_OP_EQUAL
SLAPI_OP_GREATER_OR_EQUAL
SLAPI_OP_GREATER
146
Netscape Directory Server Plug-in Programmer's Guide • October 2004
The server calls the filter matching function (which is specified in the
SLAPI_PLUGIN_MR_FILTER_MATCH_FN
object, the entry, and the attributes of the entry.
If the entry does not match but the search request also specifies that the
attributes in the DN should be searched, the server calls the filter
matching function again, passing in the filter object, the entry, and the
attributes in the DN.
If the function returns
If the function returns
If the function returns an LDAP error code (a positive value), an error
occurred.
default backend database. If you are using your own
ldbm
Query Operators in Extensible Match Filters
parameter), passing in the filter
, the entry matched the search filter.
0
, the entry did not match the search filter.
-1
SLAPI_PLUGIN_MR_QUERY_OPERATOR
Description
<
<=
=
>=
>

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents