public class LuceneQueryEngine extends Object implements QueryEngine
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
LuceneQueryEngine() |
| Modifier and Type | Method and Description |
|---|---|
QueryEngineResults |
executeQuery(Query query,
QueryOptions options,
FunctionEvaluationContext functionContext) |
int |
getMaxRawResultSetSizeForInMemorySort() |
QueryModelFactory |
getQueryModelFactory() |
boolean |
isUseInMemorySort() |
void |
setDictionaryService(DictionaryService dictionaryService) |
void |
setIndexAndSearcher(LuceneIndexerAndSearcher indexAndSearcher) |
void |
setMaxRawResultSetSizeForInMemorySort(int maxRawResultSetSizeForInMemorySort) |
void |
setNamespaceService(NamespaceService namespaceService) |
void |
setNodeService(NodeService nodeService) |
void |
setTenantService(TenantService tenantService) |
void |
setUseInMemorySort(boolean useInMemorySort) |
public void setDictionaryService(DictionaryService dictionaryService)
dictionaryService - the dictionaryService to setpublic void setIndexAndSearcher(LuceneIndexerAndSearcher indexAndSearcher)
indexAndSearcher - the indexAndSearcher to setpublic void setNodeService(NodeService nodeService)
nodeService - the nodeService to setpublic void setTenantService(TenantService tenantService)
tenantService - the tenantService to setpublic void setNamespaceService(NamespaceService namespaceService)
namespaceService - the namespaceService to setpublic QueryModelFactory getQueryModelFactory()
getQueryModelFactory in interface QueryEnginepublic boolean isUseInMemorySort()
public void setUseInMemorySort(boolean useInMemorySort)
useInMemorySort - the useInMemorySort to setpublic int getMaxRawResultSetSizeForInMemorySort()
public void setMaxRawResultSetSizeForInMemorySort(int maxRawResultSetSizeForInMemorySort)
maxRawResultSetSizeForInMemorySort - the maxRawResultSetSizeForInMemorySort to setpublic QueryEngineResults executeQuery(Query query, QueryOptions options, FunctionEvaluationContext functionContext)
executeQuery in interface QueryEngineCopyright © 2005–2021 Alfresco Software. All rights reserved.