public interface SearchEngine
Modifier and Type | Field and Description |
---|---|
static String |
ALIASMODE_KEY |
static String |
ALWAYS |
static String |
FINDING |
static String |
NEVER |
static String |
SEARCHING |
Modifier and Type | Method and Description |
---|---|
PartitionSearchResult |
computeResult(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
SearchOperationContext searchContext)
Conducts a search on a database.
|
Evaluator<? extends org.apache.directory.api.ldap.model.filter.ExprNode> |
evaluator(org.apache.directory.api.ldap.model.filter.ExprNode filter)
Builds an Evaluator for a filter expression.
|
Optimizer |
getOptimizer()
Gets the optimizer for this DefaultSearchEngine.
|
static final String ALIASMODE_KEY
static final String ALWAYS
static final String NEVER
static final String FINDING
static final String SEARCHING
Optimizer getOptimizer()
PartitionSearchResult computeResult(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, SearchOperationContext searchContext) throws Exception
The
- SchemaManager instancesearchContext
- the search contextException
- if the search failsEvaluator<? extends org.apache.directory.api.ldap.model.filter.ExprNode> evaluator(org.apache.directory.api.ldap.model.filter.ExprNode filter) throws Exception
filter
- the filter root AST nodeException
- if something goes wrong while accessing the dbCopyright © 2017. All rights reserved.