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 FullTextSessoin.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(org.apache.lucene.index.IndexWriter writer, boolean batch)
           
 LuceneIndexingParameters.ParameterSet getBatchIndexParameters()
           
 LuceneIndexingParameters.ParameterSet getTransactionIndexParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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()

applyToWriter

public void applyToWriter(org.apache.lucene.index.IndexWriter writer,
                          boolean batch)


Copyright © 2011 Hibernate. All Rights Reserved.