net.sf.lucis.core
Class Factory

java.lang.Object
  extended by net.sf.lucis.core.Factory

public final class Factory
extends Object

Support class the default values related to the lucene version for this lucis version.

Author:
Andres Rodriguez

Method Summary
static Factory get()
          Returns the instance.
 Analyzer standardAnalyzer()
          Returns the default standard analyzer.
 Version version()
          Returns the used lucene version.
 IndexWriterConfig writerConfig()
          Returns the default writer configuration.
 Supplier<IndexWriterConfig> writerConfigSupplier()
          Returns the default writer configuration supplier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static Factory get()
Returns the instance.


version

public Version version()
Returns the used lucene version.


standardAnalyzer

public Analyzer standardAnalyzer()
Returns the default standard analyzer.


writerConfig

public IndexWriterConfig writerConfig()
Returns the default writer configuration.


writerConfigSupplier

public Supplier<IndexWriterConfig> writerConfigSupplier()
Returns the default writer configuration supplier.



Copyright © 2013. All Rights Reserved.