public class DbOrIndexSwitchingQueryLanguage extends AbstractLuceneQueryLanguage
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
logger |
AFTS_QUERY
Constructor and Description |
---|
DbOrIndexSwitchingQueryLanguage() |
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.search.ResultSet |
executeQuery(org.alfresco.service.cmr.search.SearchParameters searchParameters,
ADMLuceneSearcherImpl admLuceneSearcher)
Execute the query
|
void |
setDbQueryLanguage(LuceneQueryLanguageSPI dbQueryLanguage) |
void |
setHybridEnabled(boolean hybridEnabled) |
void |
setIndexQueryLanguage(LuceneQueryLanguageSPI indexQueryLanguage) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setQueryConsistency(org.alfresco.service.cmr.search.QueryConsistency queryConsistency) |
void |
setSolrDao(SOLRDAO solrDao) |
afterPropertiesSet, getFactories, getName, setFactories, setName
public void setDbQueryLanguage(LuceneQueryLanguageSPI dbQueryLanguage)
dbQueryLanguage
- the dbQueryLanguage to setpublic void setIndexQueryLanguage(LuceneQueryLanguageSPI indexQueryLanguage)
indexQueryLanguage
- the indexQueryLanguage to setpublic void setQueryConsistency(org.alfresco.service.cmr.search.QueryConsistency queryConsistency)
queryConsistency
- the queryConsistency to setpublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the nodeService to setpublic void setSolrDao(SOLRDAO solrDao)
public void setHybridEnabled(boolean hybridEnabled)
public org.alfresco.service.cmr.search.ResultSet executeQuery(org.alfresco.service.cmr.search.SearchParameters searchParameters, ADMLuceneSearcherImpl admLuceneSearcher)
LuceneQueryLanguageSPI
searchParameters
- SearchParametersadmLuceneSearcher
- ADMLuceneSearcherImplCopyright © 2005–2017 Alfresco Software. All rights reserved.