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
- StoreRefIndexerException
org.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)SearcherException
void flush()
void registerQueryLanguage(LuceneQueryLanguageSPI luceneQueryLanguageSPI)
luceneQueryLanguageSPI
- LuceneQueryLanguageSPIMap<String,LuceneQueryLanguageSPI> getQueryLanguages()
Copyright © 2005–2017 Alfresco Software. All rights reserved.