org.hibernate.search
Class Environment

java.lang.Object
  extended by org.hibernate.search.Environment

public final class Environment
extends Object

Author:
Emmanuel Bernard, Hardy Ferentschik

Field Summary
static String ANALYZER_CLASS
          Default Lucene analyser
static String AUTOREGISTER_LISTENERS
          Enable listeners auto registration in Hibernate Annotations and EntityManager.
static String CACHE_DOCIDRESULTS_SIZE
          number of docidresults cached in hard referemnce.
static String FILTER_CACHING_STRATEGY
          filter caching strategy class (must have a no-arg constructor and implements FilterCachingStrategy)
static String INDEXING_STRATEGY
          Defines the indexing strategy, default event Other options manual
static String READER_PREFIX
          define the reader prefix
static String READER_STRATEGY
          define the reader strategy used
static String SIMILARITY_CLASS
          Default Lucene similarity
static String WORKER_BACKEND
           
static String WORKER_BATCHSIZE
          Defines the maximum number of indexing operation batched per transaction
static String WORKER_EXECUTION
           
static String WORKER_PREFIX
           
static String WORKER_SCOPE
           
static String WORKER_THREADPOOL_SIZE
          only used then execution is async Thread pool size default 1
static String WORKER_WORKQUEUE_SIZE
          Size of the buffer queue (besides the thread pool size) only used then execution is async default infinite
 
Constructor Summary
Environment()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTOREGISTER_LISTENERS

public static final String AUTOREGISTER_LISTENERS
Enable listeners auto registration in Hibernate Annotations and EntityManager. Default to true.

See Also:
Constant Field Values

INDEXING_STRATEGY

public static final String INDEXING_STRATEGY
Defines the indexing strategy, default event Other options manual

See Also:
Constant Field Values

ANALYZER_CLASS

public static final String ANALYZER_CLASS
Default Lucene analyser

See Also:
Constant Field Values

SIMILARITY_CLASS

public static final String SIMILARITY_CLASS
Default Lucene similarity

See Also:
Constant Field Values

WORKER_PREFIX

public static final String WORKER_PREFIX
See Also:
Constant Field Values

WORKER_SCOPE

public static final String WORKER_SCOPE
See Also:
Constant Field Values

WORKER_BACKEND

public static final String WORKER_BACKEND
See Also:
Constant Field Values

WORKER_EXECUTION

public static final String WORKER_EXECUTION
See Also:
Constant Field Values

WORKER_BATCHSIZE

public static final String WORKER_BATCHSIZE
Defines the maximum number of indexing operation batched per transaction

See Also:
Constant Field Values

WORKER_THREADPOOL_SIZE

public static final String WORKER_THREADPOOL_SIZE
only used then execution is async Thread pool size default 1

See Also:
Constant Field Values

WORKER_WORKQUEUE_SIZE

public static final String WORKER_WORKQUEUE_SIZE
Size of the buffer queue (besides the thread pool size)

See Also:
Constant Field Values

READER_PREFIX

public static final String READER_PREFIX
define the reader prefix

See Also:
Constant Field Values

READER_STRATEGY

public static final String READER_STRATEGY
define the reader strategy used

See Also:
Constant Field Values

FILTER_CACHING_STRATEGY

public static final String FILTER_CACHING_STRATEGY
filter caching strategy class (must have a no-arg constructor and implements FilterCachingStrategy)

See Also:
Constant Field Values

CACHE_DOCIDRESULTS_SIZE

public static final String CACHE_DOCIDRESULTS_SIZE
number of docidresults cached in hard referemnce.

See Also:
Constant Field Values
Constructor Detail

Environment

public Environment()


Copyright © 2011 Hibernate. All Rights Reserved.