Getting And Setting Parameters In Indexer Functions; Handling Extensible Match Filters - Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual

Table of Contents

Advertisement

Handling Extensible Match Filters

Getting and Setting Parameters in Indexer
Functions
The following table summarizes the different parameters that the indexer function
should get and set in the parameter block that is passed in:
Table 11-2
Input and output parameters available to an indexer function
Parameter Name
SLAPI_PLUGIN_MR_VALUES
SLAPI_PLUGIN_OBJECT
SLAPI_PLUGIN_MR_KEYS
Handling Extensible Match Filters
This section explains how to set up the server to process searches that use
extensible match filters (matching rules). The following topics are covered:
How the Server Handles the Filter
Writing a Filter Factory Function
Writing a Filter Index Function
Writing a Filter Matching Function
Note that you also need to define an initialization function to register your filter
factory function.
134
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Data Type
struct berval **
void *
struct berval **
Description
(Input parameter) Pointer to an array
of berval structures containing the
values of the entry's attributes that
need to be indexed.
(Input parameter) Pointer to the
indexer object created by the indexer
factory function. (See "Writing the
Indexer Factory Function" on page 131
for details.)
(Output parameter) Keys generated for
the values specified in the
SLAPI_PLUGIN_MR_VALUES
parameter. The server creates indexes
using these keys.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents