org.hibernate.search.backend
Class LuceneIndexingParameters
java.lang.Object
org.hibernate.search.backend.LuceneIndexingParameters
- All Implemented Interfaces:
- java.io.Serializable
public class LuceneIndexingParameters
- extends java.lang.Object
- implements java.io.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 FullTextSessoin.index(Object entity)
- Author:
- Hardy Ferentschik, Sanne Grinovero
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXPLICIT_DEFAULT_VALUE
public static final java.lang.String EXPLICIT_DEFAULT_VALUE
- See Also:
- Constant Field Values
BATCH
public static final java.lang.String BATCH
- See Also:
- Constant Field Values
TRANSACTION
public static final java.lang.String TRANSACTION
- See Also:
- Constant Field Values
PROP_GROUP
public static final java.lang.String PROP_GROUP
- See Also:
- Constant Field Values
LuceneIndexingParameters
public LuceneIndexingParameters(java.util.Properties sourceProps)
getTransactionIndexParameters
public LuceneIndexingParameters.ParameterSet getTransactionIndexParameters()
getBatchIndexParameters
public LuceneIndexingParameters.ParameterSet getBatchIndexParameters()
applyToWriter
public void applyToWriter(org.apache.lucene.index.IndexWriter writer,
boolean batch)
Copyright © 2006-2010 Hibernate. All Rights Reserved.