net.cw.luigi.search
Class DefaultConcurrentSearcher
java.lang.Object
net.cw.luigi.search.DefaultConcurrentSearcher
- All Implemented Interfaces:
- ConcurrentSearcher, Searcher
public class DefaultConcurrentSearcher
- extends Object
- implements ConcurrentSearcher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConcurrentSearcher
public DefaultConcurrentSearcher(Searcher searcher,
CommandExecutor executor)
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