org.kie.kieora.backend.lucene
public class LuceneSearchIndex extends Object implements SearchIndex
Constructor and Description |
---|
LuceneSearchIndex(LuceneSetup lucene) |
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(LuceneSetup lucene)
public List<KObject> searchByAttrs(Map<String,?> attrs, int pageSize, int startIndex, ClusterSegment... clusterSegments)
searchByAttrs
in interface SearchIndex
public List<KObject> fullTextSearch(String term, int pageSize, int startIndex, 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 © 2001-2013 JBoss by Red Hat. All Rights Reserved.