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.
|
java.lang.String |
getBaseUrl() |
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 |
setBaseUrl(java.lang.String baseUrl) |
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, registerQueryLanguagepublic 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 java.lang.String getBaseUrl()
public void setBaseUrl(java.lang.String baseUrl)
public Indexer getIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef) throws IndexerException
IndexerAndSearcherIndexerExceptionpublic org.alfresco.service.cmr.search.SearchService getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef,
boolean searchDelta)
throws SearcherException
IndexerAndSearchersearchDelta - -
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 - 2010 Alfresco Software, Inc. All Rights Reserved.