public class LuceneSearchIndex extends Object implements SearchIndex
| Constructor and Description |
|---|
LuceneSearchIndex(LuceneIndexManager indexManager,
org.apache.lucene.analysis.Analyzer analyzer) |
| Modifier and Type | Method and Description |
|---|---|
List<KObject> |
fullTextSearch(String term,
int pageSize,
int startIndex,
ClusterSegment... clusterSegments) |
int |
fullTextSearchHits(String term,
ClusterSegment... clusterSegments) |
List<KObject> |
searchByAttrs(Map<String,?> attrs,
int pageSize,
int startIndex,
ClusterSegment... clusterSegments) |
int |
searchByAttrsHits(Map<String,?> attrs,
ClusterSegment... clusterSegments) |
public LuceneSearchIndex(LuceneIndexManager indexManager, org.apache.lucene.analysis.Analyzer analyzer)
public List<KObject> searchByAttrs(Map<String,?> attrs, int pageSize, int startIndex, ClusterSegment... clusterSegments)
searchByAttrs in interface SearchIndexpublic List<KObject> fullTextSearch(String term, int pageSize, int startIndex, ClusterSegment... clusterSegments)
fullTextSearch in interface SearchIndexpublic int searchByAttrsHits(Map<String,?> attrs, ClusterSegment... clusterSegments)
searchByAttrsHits in interface SearchIndexpublic int fullTextSearchHits(String term, ClusterSegment... clusterSegments)
fullTextSearchHits in interface SearchIndexCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.