Calls the indexer factory function for the plug-in responsible for a specified matching rule.
Syntax
#include "slapi-plugin.h"
int slapi_mr_indexer_create (Slapi_PBlock *opb);
Parameters
The function has the following parameters:
Returns.
The result code returned by the indexer factory function.
Description.
This function calls the indexer factory function for the plug-in responsible for handing a specified matching rule. The matching rule is identified by the OID in the SLAPI_PLUGIN_MR_OID parameter.
If no plug-ins are associated with this matching rule, the function calls the indexer factory function for each matching rule plug-in until the SLAPI_PLUGIN_MR_INDEX_FN parameter is set to an indexer function.
Before calling this function, make sure that the parameter block pb contains the information needed by the indexer factory function. You can pass information to the indexer factory function by using the following parameters:
The indexer factory function should set the following parameters:
For more information on filter index functions and indexer functions, see Chapter 12, "Writing Matching Rule Plug-Ins".
Example
[To be added]
See Also