46.3. compute_rewrite_search_filter()
This function calls evaluator functions to see if there is a match with a search filter. Before the server sends an entry as a search result back to the client, the server determines if any of the requested attributes are computed attributes and generates the values for those attributes.
#include "slapi-plugin.h" int compute_rewrite_search_filter (Slapi_PBlock *pb);
This function takes the following parameter:
|
pb
| Parameter block that matches the rewrite search filter. |
This function returns one of the following values:
- -0 indicates the function should keep looking for a match.
- 0 indicates the rewrite is successful.
- 1 indicates the function refuses to perform the search.
- 2 indicates the function encountered an error.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.