Kieora Commons IO 6.0.0.CR5

org.kie.kieora.io
Class IOSearchIndex

java.lang.Object
  extended by org.kie.kieora.io.IOSearchIndex
All Implemented Interfaces:
org.kie.commons.io.IOSearchService

public class IOSearchIndex
extends Object
implements org.kie.commons.io.IOSearchService


Constructor Summary
IOSearchIndex(SearchIndex searchIndex, org.kie.commons.io.IOService ioService)
           
 
Method Summary
 List<org.kie.commons.java.nio.file.Path> fullTextSearch(String term, int pageSize, int startIndex, org.kie.commons.java.nio.file.Path... roots)
           
 int fullTextSearchHits(String term, org.kie.commons.java.nio.file.Path... roots)
           
 List<org.kie.commons.java.nio.file.Path> searchByAttrs(Map<String,?> attrs, int pageSize, int startIndex, org.kie.commons.java.nio.file.Path... roots)
           
 int searchByAttrsHits(Map<String,?> attrs, org.kie.commons.java.nio.file.Path... roots)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOSearchIndex

public IOSearchIndex(SearchIndex searchIndex,
                     org.kie.commons.io.IOService ioService)
Method Detail

searchByAttrs

public List<org.kie.commons.java.nio.file.Path> searchByAttrs(Map<String,?> attrs,
                                                              int pageSize,
                                                              int startIndex,
                                                              org.kie.commons.java.nio.file.Path... roots)
Specified by:
searchByAttrs in interface org.kie.commons.io.IOSearchService

fullTextSearch

public List<org.kie.commons.java.nio.file.Path> fullTextSearch(String term,
                                                               int pageSize,
                                                               int startIndex,
                                                               org.kie.commons.java.nio.file.Path... roots)
Specified by:
fullTextSearch in interface org.kie.commons.io.IOSearchService

searchByAttrsHits

public int searchByAttrsHits(Map<String,?> attrs,
                             org.kie.commons.java.nio.file.Path... roots)
Specified by:
searchByAttrsHits in interface org.kie.commons.io.IOSearchService

fullTextSearchHits

public int fullTextSearchHits(String term,
                              org.kie.commons.java.nio.file.Path... roots)
Specified by:
fullTextSearchHits in interface org.kie.commons.io.IOSearchService

Kieora Commons IO 6.0.0.CR5

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