org.hibernate.search.backend
Class LuceneIndexingParameters

java.lang.Object
  extended by org.hibernate.search.backend.LuceneIndexingParameters
All Implemented Interfaces:
Serializable

public class LuceneIndexingParameters
extends Object
implements Serializable

Wrapper class around the Lucene indexing parameters defined in IndexWriterSetting.

There are two sets of these parameters. One is for regular indexing the other is for batch indexing triggered by FullTextSession.index(Object entity)

Author:
Hardy Ferentschik, Sanne Grinovero
See Also:
Serialized Form

Nested Class Summary
static class LuceneIndexingParameters.ParameterSet
           
 
Field Summary
static String BATCH
           
static String EXPLICIT_DEFAULT_VALUE
           
static String PROP_GROUP
           
static String TRANSACTION
           
 
Constructor Summary
LuceneIndexingParameters(Properties sourceProps)
           
 
Method Summary
 void applyToWriter(IndexWriterConfig writerConfig, boolean batch)
           
 LuceneIndexingParameters.ParameterSet getBatchIndexParameters()
           
 LuceneIndexingParameters.ParameterSet getTransactionIndexParameters()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXPLICIT_DEFAULT_VALUE

public static final String EXPLICIT_DEFAULT_VALUE
See Also:
Constant Field Values

BATCH

public static final String BATCH
See Also:
Constant Field Values

TRANSACTION

public static final String TRANSACTION
See Also:
Constant Field Values

PROP_GROUP

public static final String PROP_GROUP
See Also:
Constant Field Values
Constructor Detail

LuceneIndexingParameters

public LuceneIndexingParameters(Properties sourceProps)
Method Detail

getTransactionIndexParameters

public LuceneIndexingParameters.ParameterSet getTransactionIndexParameters()

getBatchIndexParameters

public LuceneIndexingParameters.ParameterSet getBatchIndexParameters()

toString

public String toString()
Overrides:
toString in class Object

applyToWriter

public void applyToWriter(IndexWriterConfig writerConfig,
                          boolean batch)


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved