Class LuceneQueryEngine
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneQueryEngine
-
- All Implemented Interfaces:
org.alfresco.repo.search.impl.querymodel.QueryEngine
public class LuceneQueryEngine extends java.lang.Object implements org.alfresco.repo.search.impl.querymodel.QueryEngine- Author:
- andyh
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.Loglogger
-
Constructor Summary
Constructors Constructor Description LuceneQueryEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.repo.search.impl.querymodel.QueryEngineResultsexecuteQuery(org.alfresco.repo.search.impl.querymodel.Query query, org.alfresco.repo.search.impl.querymodel.QueryOptions options, org.alfresco.repo.search.impl.querymodel.FunctionEvaluationContext functionContext)intgetMaxRawResultSetSizeForInMemorySort()org.alfresco.repo.search.impl.querymodel.QueryModelFactorygetQueryModelFactory()booleanisUseInMemorySort()voidsetDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)voidsetIndexAndSearcher(LuceneIndexerAndSearcher indexAndSearcher)voidsetMaxRawResultSetSizeForInMemorySort(int maxRawResultSetSizeForInMemorySort)voidsetNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)voidsetTenantService(org.alfresco.repo.tenant.TenantService tenantService)voidsetUseInMemorySort(boolean useInMemorySort)
-
-
-
Method Detail
-
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
- Parameters:
dictionaryService- the dictionaryService to set
-
setIndexAndSearcher
public void setIndexAndSearcher(LuceneIndexerAndSearcher indexAndSearcher)
- Parameters:
indexAndSearcher- the indexAndSearcher to set
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
- Parameters:
nodeService- the nodeService to set
-
setTenantService
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
- Parameters:
tenantService- the tenantService to set
-
setNamespaceService
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
- Parameters:
namespaceService- the namespaceService to set
-
getQueryModelFactory
public org.alfresco.repo.search.impl.querymodel.QueryModelFactory getQueryModelFactory()
- Specified by:
getQueryModelFactoryin interfaceorg.alfresco.repo.search.impl.querymodel.QueryEngine
-
isUseInMemorySort
public boolean isUseInMemorySort()
- Returns:
- the useInMemorySort
-
setUseInMemorySort
public void setUseInMemorySort(boolean useInMemorySort)
- Parameters:
useInMemorySort- the useInMemorySort to set
-
getMaxRawResultSetSizeForInMemorySort
public int getMaxRawResultSetSizeForInMemorySort()
- Returns:
- the maxRawResultSetSizeForInMemorySort
-
setMaxRawResultSetSizeForInMemorySort
public void setMaxRawResultSetSizeForInMemorySort(int maxRawResultSetSizeForInMemorySort)
- Parameters:
maxRawResultSetSizeForInMemorySort- the maxRawResultSetSizeForInMemorySort to set
-
executeQuery
public 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)- Specified by:
executeQueryin interfaceorg.alfresco.repo.search.impl.querymodel.QueryEngine
-
-