Kieora Lucene Backend 6.0.0.CR3

org.kie.kieora.backend.lucene
Class LuceneSearchIndex

java.lang.Object
  extended by org.kie.kieora.backend.lucene.LuceneSearchIndex
All Implemented Interfaces:
SearchIndex

public class LuceneSearchIndex
extends Object
implements SearchIndex


Constructor Summary
LuceneSearchIndex(LuceneSetup lucene)
           
 
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
 

Constructor Detail

LuceneSearchIndex

public LuceneSearchIndex(LuceneSetup lucene)
Method Detail

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

Kieora Lucene Backend 6.0.0.CR3

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.