public interface IndexerAndSearcher
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Do any indexing that may be pending on behalf of the current transaction.
|
Indexer |
getIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef)
Get an indexer for a store
|
Map<String,LuceneQueryLanguageSPI> |
getQueryLanguages() |
org.alfresco.service.cmr.search.SearchService |
getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef,
boolean searchDelta)
Get a searcher for a store
|
void |
registerQueryLanguage(LuceneQueryLanguageSPI luceneQueryLanguageSPI) |
Indexer getIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef) throws IndexerException
storeRef - StoreRefIndexerExceptionorg.alfresco.service.cmr.search.SearchService getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef,
boolean searchDelta)
throws SearcherException
storeRef - StoreRefsearchDelta - -
serach the in progress transaction as well as the main index
(this is ignored for searches that do full text)SearcherExceptionvoid flush()
void registerQueryLanguage(LuceneQueryLanguageSPI luceneQueryLanguageSPI)
luceneQueryLanguageSPI - LuceneQueryLanguageSPIMap<String,LuceneQueryLanguageSPI> getQueryLanguages()
Copyright © 2005–2018 Alfresco Software. All rights reserved.