org.kie.kieora.backend.lucene
Class LuceneSearchIndex
java.lang.Object
org.kie.kieora.backend.lucene.LuceneSearchIndex
- All Implemented Interfaces:
- SearchIndex
public class LuceneSearchIndex
- extends Object
- implements SearchIndex
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneSearchIndex
public LuceneSearchIndex(LuceneSetup lucene)
searchByAttrs
public List<KObject> searchByAttrs(Map<String,?> attrs,
int pageSize,
int startIndex,
ClusterSegment... clusterSegments)
- Specified by:
searchByAttrs in interface SearchIndex
fullTextSearch
public List<KObject> fullTextSearch(String term,
int pageSize,
int startIndex,
ClusterSegment... clusterSegments)
- Specified by:
fullTextSearch in interface SearchIndex
searchByAttrsHits
public int searchByAttrsHits(Map<String,?> attrs,
ClusterSegment... clusterSegments)
- Specified by:
searchByAttrsHits in interface SearchIndex
fullTextSearchHits
public int fullTextSearchHits(String term,
ClusterSegment... clusterSegments)
- Specified by:
fullTextSearchHits in interface SearchIndex
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.