public interface LuceneSearcher
extends org.alfresco.service.cmr.search.SearchService
Modifier and Type | Method and Description |
---|---|
ClosingIndexSearcher |
getClosingIndexSearcher()
Get a lucene searcher
|
List<org.alfresco.util.Pair<String,Integer>> |
getTopTerms(String field,
int count)
Get top terms
|
boolean |
indexExists()
Check if the index exists
|
void |
setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)
Set the name space service
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Ste the node service
|
boolean indexExists()
void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- NodeServicevoid setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)
namespacePrefixResolver
- NamespacePrefixResolverList<org.alfresco.util.Pair<String,Integer>> getTopTerms(String field, int count)
field
- Stringcount
- intClosingIndexSearcher getClosingIndexSearcher()
Copyright © 2005–2017 Alfresco Software. All rights reserved.