public class LuceneQueryEngine extends Object implements org.alfresco.repo.search.impl.querymodel.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 |
---|---|
org.alfresco.repo.search.impl.querymodel.QueryEngineResults |
executeQuery(org.alfresco.repo.search.impl.querymodel.Query query,
org.alfresco.repo.search.impl.querymodel.QueryOptions options,
org.alfresco.repo.search.impl.querymodel.FunctionEvaluationContext functionContext) |
int |
getMaxRawResultSetSizeForInMemorySort() |
org.alfresco.repo.search.impl.querymodel.QueryModelFactory |
getQueryModelFactory() |
boolean |
isUseInMemorySort() |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setIndexAndSearcher(LuceneIndexerAndSearcher indexAndSearcher) |
void |
setMaxRawResultSetSizeForInMemorySort(int maxRawResultSetSizeForInMemorySort) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
void |
setUseInMemorySort(boolean useInMemorySort) |
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService
- the dictionaryService to setpublic void setIndexAndSearcher(LuceneIndexerAndSearcher indexAndSearcher)
indexAndSearcher
- the indexAndSearcher to setpublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the nodeService to setpublic void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService
- the tenantService to setpublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService
- the namespaceService to setpublic org.alfresco.repo.search.impl.querymodel.QueryModelFactory getQueryModelFactory()
getQueryModelFactory
in interface org.alfresco.repo.search.impl.querymodel.QueryEngine
public boolean isUseInMemorySort()
public void setUseInMemorySort(boolean useInMemorySort)
useInMemorySort
- the useInMemorySort to setpublic int getMaxRawResultSetSizeForInMemorySort()
public void setMaxRawResultSetSizeForInMemorySort(int maxRawResultSetSizeForInMemorySort)
maxRawResultSetSizeForInMemorySort
- the maxRawResultSetSizeForInMemorySort to setpublic org.alfresco.repo.search.impl.querymodel.QueryEngineResults executeQuery(org.alfresco.repo.search.impl.querymodel.Query query, org.alfresco.repo.search.impl.querymodel.QueryOptions options, org.alfresco.repo.search.impl.querymodel.FunctionEvaluationContext functionContext)
executeQuery
in interface org.alfresco.repo.search.impl.querymodel.QueryEngine
Copyright © 2005–2017 Alfresco Software. All rights reserved.