public interface SearchEngine
Modifier and Type | Field and Description |
---|---|
static String |
ALIASMODE_KEY
TODO put this in the right place
The alias dereferencing mode key for JNDI providers
|
static String |
ALWAYS
TODO put this in the right place
The alias dereferencing mode value for JNDI providers
|
static String |
FINDING
TODO put this in the right place
The alias dereferencing mode value for JNDI providers
|
static String |
NEVER
TODO put this in the right place
The alias dereferencing mode value for JNDI providers
|
static String |
SEARCHING
TODO put this in the right place
The alias dereferencing mode value for JNDI providers
|
Modifier and Type | Method and Description |
---|---|
PartitionSearchResult |
computeResult(PartitionTxn partitionTxn,
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(PartitionTxn partitionTxn,
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(PartitionTxn partitionTxn, org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, SearchOperationContext searchContext) throws org.apache.directory.api.ldap.model.exception.LdapException
partitionTxn
- The transaction to useschemaManager
- The SchemaManager instancesearchContext
- the search contextorg.apache.directory.api.ldap.model.exception.LdapException
- if the search failsEvaluator<? extends org.apache.directory.api.ldap.model.filter.ExprNode> evaluator(PartitionTxn partitionTxn, org.apache.directory.api.ldap.model.filter.ExprNode filter) throws org.apache.directory.api.ldap.model.exception.LdapException
partitionTxn
- The transaction to usefilter
- the filter root AST nodeorg.apache.directory.api.ldap.model.exception.LdapException
- if something goes wrong while accessing the dbCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.