org.hibernate.search.backend
Class LuceneIndexingParameters
java.lang.Object
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
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
LuceneIndexingParameters
public LuceneIndexingParameters(Properties sourceProps)
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