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.
|
DictionaryService |
getDictionaryService() |
Indexer |
getIndexer(StoreRef storeRef)
Get an indexer for a store
|
NamespacePrefixResolver |
getNamespacePrefixResolver() |
NodeService |
getNodeService() |
QueryRegisterComponent |
getQueryRegister() |
SearchService |
getSearcher(StoreRef storeRef,
boolean searchDelta)
Get a searcher for a store
|
void |
setDictionaryService(DictionaryService dictionaryService) |
void |
setNamespacePrefixResolver(NamespacePrefixResolver namespacePrefixResolver) |
void |
setNodeService(NodeService nodeService) |
void |
setQueryRegister(QueryRegisterComponent queryRegister) |
getQueryLanguages, registerQueryLanguagepublic DictionaryService getDictionaryService()
public void setDictionaryService(DictionaryService dictionaryService)
public NamespacePrefixResolver getNamespacePrefixResolver()
public void setNamespacePrefixResolver(NamespacePrefixResolver namespacePrefixResolver)
public NodeService getNodeService()
public void setNodeService(NodeService nodeService)
public QueryRegisterComponent getQueryRegister()
public void setQueryRegister(QueryRegisterComponent queryRegister)
public Indexer getIndexer(StoreRef storeRef) throws IndexerException
IndexerAndSearcherstoreRef - StoreRefIndexerExceptionpublic SearchService getSearcher(StoreRef storeRef, boolean searchDelta) throws SearcherException
IndexerAndSearcherstoreRef - StoreRefsearchDelta - -
serach the in progress transaction as well as the main index
(this is ignored for searches that do full text)SearcherExceptionpublic void flush()
IndexerAndSearcherCopyright © 2005–2020 Alfresco Software. All rights reserved.