Class SolrIndexerAndSearcherFactory
java.lang.Object
org.alfresco.repo.search.impl.AbstractIndexerAndSearcher
org.alfresco.repo.search.impl.solr.SolrIndexerAndSearcherFactory
- All Implemented Interfaces:
IndexerAndSearcher
- Direct Known Subclasses:
NoIndexIndexerAndSearcherFactory
- Author:
- Andy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Do any indexing that may be pending on behalf of the current transaction.getIndexer(StoreRef storeRef) Get an indexer for a storegetSearcher(StoreRef storeRef, boolean searchDelta) Get a searcher for a storevoidsetDictionaryService(DictionaryService dictionaryService) voidsetNamespacePrefixResolver(NamespacePrefixResolver namespacePrefixResolver) voidsetNodeService(NodeService nodeService) voidsetQueryRegister(QueryRegisterComponent queryRegister) Methods inherited from class org.alfresco.repo.search.impl.AbstractIndexerAndSearcher
getQueryLanguages, registerQueryLanguage
-
Constructor Details
-
SolrIndexerAndSearcherFactory
public SolrIndexerAndSearcherFactory()
-
-
Method Details
-
getDictionaryService
-
setDictionaryService
-
getNamespacePrefixResolver
-
setNamespacePrefixResolver
-
getNodeService
-
setNodeService
-
getQueryRegister
-
setQueryRegister
-
getIndexer
Description copied from interface:IndexerAndSearcherGet an indexer for a store- Parameters:
storeRef- StoreRef- Returns:
- Indexer
- Throws:
IndexerException
-
getSearcher
Description 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.
-