Class SolrIndexerAndSearcherFactory
- java.lang.Object
-
- org.alfresco.repo.search.impl.lucene.AbstractIndexerAndSearcher
-
- org.alfresco.repo.search.impl.solr.SolrIndexerAndSearcherFactory
-
- All Implemented Interfaces:
IndexerAndSearcher
- Direct Known Subclasses:
NoIndexIndexerAndSearcherFactory
public class SolrIndexerAndSearcherFactory extends AbstractIndexerAndSearcher
- Author:
- Andy
-
-
Constructor Summary
Constructors Constructor Description SolrIndexerAndSearcherFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()Do any indexing that may be pending on behalf of the current transaction.org.alfresco.service.cmr.dictionary.DictionaryServicegetDictionaryService()IndexergetIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef)Get an indexer for a storeorg.alfresco.service.namespace.NamespacePrefixResolvergetNamespacePrefixResolver()org.alfresco.service.cmr.repository.NodeServicegetNodeService()QueryRegisterComponentgetQueryRegister()org.alfresco.service.cmr.search.SearchServicegetSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef, boolean searchDelta)Get a searcher for a storevoidsetDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)voidsetNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)voidsetQueryRegister(QueryRegisterComponent queryRegister)-
Methods inherited from class org.alfresco.repo.search.impl.lucene.AbstractIndexerAndSearcher
getQueryLanguages, registerQueryLanguage
-
-
-
-
Method Detail
-
getDictionaryService
public org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
-
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
-
getNamespacePrefixResolver
public org.alfresco.service.namespace.NamespacePrefixResolver getNamespacePrefixResolver()
-
setNamespacePrefixResolver
public void setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)
-
getNodeService
public org.alfresco.service.cmr.repository.NodeService getNodeService()
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
-
getQueryRegister
public QueryRegisterComponent getQueryRegister()
-
setQueryRegister
public void setQueryRegister(QueryRegisterComponent queryRegister)
-
getIndexer
public Indexer getIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef) throws IndexerException
Description copied from interface:IndexerAndSearcherGet an indexer for a store- Parameters:
storeRef- StoreRef- Returns:
- Indexer
- Throws:
IndexerException
-
getSearcher
public org.alfresco.service.cmr.search.SearchService getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef, boolean searchDelta) throws SearcherExceptionDescription copied from interface:IndexerAndSearcherGet a searcher for a store- Parameters:
storeRef- StoreRefsearchDelta- - serach the in progress transaction as well as the main index (this is ignored for searches that do full text)- Returns:
- SearchService
- Throws:
SearcherException
-
flush
public void flush()
Description copied from interface:IndexerAndSearcherDo any indexing that may be pending on behalf of the current transaction.
-
-