public class InfinispanSearchIndex extends Object implements SearchIndex
Constructor and Description |
---|
InfinispanSearchIndex(IndexProvider indexProvider,
org.apache.lucene.analysis.Analyzer analyzer) |
Modifier and Type | Method and Description |
---|---|
List<KObject> |
fullTextSearch(String term,
IOSearchService.Filter filter,
ClusterSegment... clusterSegments) |
int |
fullTextSearchHits(String term,
ClusterSegment... clusterSegments) |
List<KObject> |
searchByAttrs(Map<String,?> attrs,
IOSearchService.Filter filter,
ClusterSegment... clusterSegments) |
int |
searchByAttrsHits(Map<String,?> attrs,
ClusterSegment... clusterSegments) |
public InfinispanSearchIndex(IndexProvider indexProvider, org.apache.lucene.analysis.Analyzer analyzer)
public List<KObject> searchByAttrs(Map<String,?> attrs, IOSearchService.Filter filter, ClusterSegment... clusterSegments)
searchByAttrs
in interface SearchIndex
public List<KObject> fullTextSearch(String term, IOSearchService.Filter filter, ClusterSegment... clusterSegments)
fullTextSearch
in interface SearchIndex
public int searchByAttrsHits(Map<String,?> attrs, ClusterSegment... clusterSegments)
searchByAttrsHits
in interface SearchIndex
public int fullTextSearchHits(String term, ClusterSegment... clusterSegments)
fullTextSearchHits
in interface SearchIndex
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.