Luigi Homepage

net.cw.luigi.search
Class DefaultConcurrentSearcher

java.lang.Object
  extended by net.cw.luigi.search.DefaultConcurrentSearcher
All Implemented Interfaces:
ConcurrentSearcher, Searcher

public class DefaultConcurrentSearcher
extends Object
implements ConcurrentSearcher


Constructor Summary
DefaultConcurrentSearcher(Searcher searcher, CommandExecutor executor)
           
 
Method Summary
 LateResult concurrentSearch(SearchOptions options)
           
 boolean getAutomaticReloading()
           
 void reload()
           
 Hits search(SearchOptions options)
           
 Hits search(String query)
          Deprecated. in favor of the method that takes a SearchOptions instance
 void setAutomaticReloading(boolean on)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConcurrentSearcher

public DefaultConcurrentSearcher(Searcher searcher,
                                 CommandExecutor executor)
Method Detail

concurrentSearch

public LateResult concurrentSearch(SearchOptions options)
Specified by:
concurrentSearch in interface ConcurrentSearcher

search

public Hits search(String query)
Deprecated. in favor of the method that takes a SearchOptions instance

Specified by:
search in interface Searcher

reload

public void reload()
            throws SearchException
Specified by:
reload in interface Searcher
Throws:
SearchException

getAutomaticReloading

public boolean getAutomaticReloading()
Specified by:
getAutomaticReloading in interface Searcher

setAutomaticReloading

public void setAutomaticReloading(boolean on)
Specified by:
setAutomaticReloading in interface Searcher

search

public Hits search(SearchOptions options)
            throws SearchException
Specified by:
search in interface Searcher
Throws:
SearchException

Luigi Homepage