net.sf.eos.lucene
Class IndexSearcherSupplier
java.lang.Object
net.sf.eos.config.Configured
net.sf.eos.lucene.SearcherSupplier
net.sf.eos.lucene.IndexSearcherSupplier
- All Implemented Interfaces:
- Configurable, Supplier<org.apache.lucene.search.Searcher>
public class IndexSearcherSupplier
- extends SearcherSupplier
Based on DirectorySupplier
.
- Author:
- Sascha Kohlmann
Method Summary |
org.apache.lucene.search.Searcher |
get(Configuration conf)
Use the given configuration to create a new Searchable instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexSearcherSupplier
public IndexSearcherSupplier()
get
public org.apache.lucene.search.Searcher get(Configuration conf)
- Description copied from class:
SearcherSupplier
- Use the given configuration to create a new
Searchable
instance.
- Specified by:
get
in class SearcherSupplier
- Parameters:
conf
- the configuration to use for Searchable
creating
- Returns:
- a new Lucence
Searchable
Copyright © 2008. All Rights Reserved.