com.jalios.jcms.search
Class LuceneUtils.MultiSearcherWrapper

java.lang.Object
  extended by org.apache.lucene.search.Searcher
      extended by org.apache.lucene.search.MultiSearcher
          extended by com.jalios.jcms.search.LuceneUtils.MultiSearcherWrapper
All Implemented Interfaces:
LuceneUtils.SearcherWrapper, org.apache.lucene.search.Searchable
Enclosing class:
LuceneUtils

public static class LuceneUtils.MultiSearcherWrapper
extends org.apache.lucene.search.MultiSearcher
implements LuceneUtils.SearcherWrapper

MultiSearcher wrapper providing base functionnality for refercence tracking.


Constructor Summary
LuceneUtils.MultiSearcherWrapper(org.apache.lucene.search.Searchable[] searchables)
           
 
Method Summary
 void close()
           
 org.apache.lucene.search.Searcher getReference()
           
 
Methods inherited from class org.apache.lucene.search.MultiSearcher
createWeight, doc, doc, docFreq, explain, getSearchables, getStarts, maxDoc, rewrite, search, search, search, subDoc, subSearcher
 
Methods inherited from class org.apache.lucene.search.Searcher
docFreqs, explain, getSimilarity, search, search, search, search, search, search, search, search, search, search, search, search, setSimilarity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jalios.jcms.search.LuceneUtils.SearcherWrapper
setSimilarity
 

Constructor Detail

LuceneUtils.MultiSearcherWrapper

public LuceneUtils.MultiSearcherWrapper(org.apache.lucene.search.Searchable[] searchables)
                                 throws IOException
Throws:
IOException
Method Detail

getReference

public org.apache.lucene.search.Searcher getReference()
Specified by:
getReference in interface LuceneUtils.SearcherWrapper

close

public void close()
           throws IOException
Specified by:
close in interface LuceneUtils.SearcherWrapper
Specified by:
close in interface org.apache.lucene.search.Searchable
Overrides:
close in class org.apache.lucene.search.MultiSearcher
Throws:
IOException


Copyright © 2001-2010 Jalios SA. All Rights Reserved.