|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.lucene.LuceneEnvironment.SearchEngineIndex
public abstract static class LuceneEnvironment.SearchEngineIndex
Specific environment settings for the batch_insert settings.
| Field Summary | |
|---|---|
static String |
CACHE_INTERVAL_INVALIDATION
Sets how often (in milliseconds) the index manager will check if the index cache needs to be invalidated. |
static String |
INDEX_MANAGER_SCHEDULE_INTERVAL
The index manager schedule interval (in seconds) where different actions related to index manager will happen (such as global cache interval checks. |
static String |
MAX_BUFFERED_DOCS
Determines the minimal number of documents required before the buffered in-memory documents are merging and a new Segment is created. |
static String |
MAX_FIELD_LENGTH
The maximum number of terms that will be indexed for a single field in a document. |
static String |
MAX_MERGE_DOCS
Determines the largest number of documents ever merged by addDocument(). |
static String |
MERGE_FACTOR
Determines how often segment indices are merged by addDocument(). |
static String |
USE_COMPOUND_FILE
Setting to turn on usage of a compound file. |
static String |
WAIT_FOR_CACHE_INVALIDATION_ON_INDEX_OPERATION
Defaults to false. |
| Constructor Summary | |
|---|---|
LuceneEnvironment.SearchEngineIndex()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MAX_MERGE_DOCS
Integer.MAX_VALUE. Applies for Lucene
Batch transaction support.
public static final String MERGE_FACTOR
public static final String MAX_BUFFERED_DOCS
RAMDirectory,
large value gives faster indexing. At the same time, mergeFactor limits
the number of files open in a FSDirectory.
The default value is 10.
Applies for Lucene Batch transaction support.
public static final String USE_COMPOUND_FILE
true
public static final String MAX_FIELD_LENGTH
public static final String CACHE_INTERVAL_INVALIDATION
5000. Setting it to
0 means that the cache will check if it needs to be invalidated all the time. Setting
it to -1 means that the cache will never check if it needs to
be invalidated, note, that it is perfectly fine if a single instance is
manipulating the index. It works, since the cache is invalidated when a
transaction is committed and a dirty operation has occured.
public static final String INDEX_MANAGER_SCHEDULE_INTERVAL
-1, not scheduling will happen.
public static final String WAIT_FOR_CACHE_INVALIDATION_ON_INDEX_OPERATION
false. If set to true, will cause index manager operation (including
replace index) to wait for all other Compass instances to invalidate their cache. The wait time will be
the same as the INDEX_MANAGER_SCHEDULE_INTERVAL.
| Constructor Detail |
|---|
public LuceneEnvironment.SearchEngineIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||