net.sf.eos.lucene
Class IndexSearcherSupplier

java.lang.Object
  extended by net.sf.eos.config.Configured
      extended by net.sf.eos.lucene.SearcherSupplier
          extended by 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

Field Summary
 
Fields inherited from class net.sf.eos.lucene.SearcherSupplier
SEARCHER_SUPPLIER_IMPL_CONFIG_NAME
 
Constructor Summary
IndexSearcherSupplier()
           
 
Method Summary
 org.apache.lucene.search.Searcher get(Configuration conf)
          Use the given configuration to create a new Searchable instance.
 
Methods inherited from class net.sf.eos.lucene.SearcherSupplier
get, newInstance
 
Methods inherited from class net.sf.eos.config.Configured
configure, getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexSearcherSupplier

public IndexSearcherSupplier()
Method Detail

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.