public class SolrIndexerAndSearcherFactory extends AbstractIndexerAndSearcher
Constructor and Description |
---|
SolrIndexerAndSearcherFactory() |
Modifier and Type | Method and Description |
---|---|
void |
flush()
Do any indexing that may be pending on behalf of the current transaction.
|
org.alfresco.service.cmr.dictionary.DictionaryService |
getDictionaryService() |
Indexer |
getIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef)
Get an indexer for a store
|
org.alfresco.service.namespace.NamespacePrefixResolver |
getNamespacePrefixResolver() |
org.alfresco.service.cmr.repository.NodeService |
getNodeService() |
QueryRegisterComponent |
getQueryRegister() |
org.alfresco.service.cmr.search.SearchService |
getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef,
boolean searchDelta)
Get a searcher for a store
|
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setQueryRegister(QueryRegisterComponent queryRegister) |
getQueryLanguages, registerQueryLanguage
public org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
public org.alfresco.service.namespace.NamespacePrefixResolver getNamespacePrefixResolver()
public void setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)
public org.alfresco.service.cmr.repository.NodeService getNodeService()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public QueryRegisterComponent getQueryRegister()
public void setQueryRegister(QueryRegisterComponent queryRegister)
public Indexer getIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef) throws IndexerException
IndexerAndSearcher
storeRef
- StoreRefIndexerException
public org.alfresco.service.cmr.search.SearchService getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef, boolean searchDelta) throws SearcherException
IndexerAndSearcher
storeRef
- StoreRefsearchDelta
- -
serach the in progress transaction as well as the main index
(this is ignored for searches that do full text)SearcherException
public void flush()
IndexerAndSearcher
Copyright © 2005–2017 Alfresco Software. All rights reserved.