|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.lucene.RuntimeLuceneEnvironment.SearchEngineIndex
public abstract static class RuntimeLuceneEnvironment.SearchEngineIndex
Specific environment settings for the batch_insert settings.
| Field Summary | |
|---|---|
static String |
MAX_BUFFERED_DELETED_TERMS
Determines the minimal number of delete terms required before the buffered in-memory delete terms are applied and flushed. |
static String |
MAX_BUFFERED_DOCS
Determines the minimal number of documents required before the buffered in-memory documents are flushed as a new Segment. |
static String |
MAX_MERGE_DOCS
Determines the largest segment (measured by document count) that may be merged with other segments. |
static String |
MERGE_FACTOR
Determines how often segment indices are merged by addDocument(). |
static String |
RAM_BUFFER_SIZE
Determines the amount of RAM that may be used for buffering added documents before they are flushed as a new Segment. |
| Constructor Summary | |
|---|---|
RuntimeLuceneEnvironment.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
Determines the largest segment (measured by document count) that may be merged with other segments. Small values (e.g., less than 10,000) are best for interactive indexing, as this limits the length of pauses while indexing to a few seconds. Larger values are best for batched indexing and speedier searches.
The default value is Integer.MAX_VALUE.
public static final String MERGE_FACTOR
Defaults to 10.
public static final String MAX_BUFFERED_DOCS
When this is set, the writer will flush every
maxBufferedDocs added documents. Pass in IndexWriter.DISABLE_AUTO_FLUSH to prevent triggering a flush due
to number of buffered documents. Note that if flushing
by RAM usage is also enabled, then the flush will be
triggered by whichever comes first.
Disabled by default (writer flushes by RAM usage).
public static final String MAX_BUFFERED_DELETED_TERMS
Determines the minimal number of delete terms required before the buffered in-memory delete terms are applied and flushed. If there are documents buffered in memory at the time, they are merged and a new segment is created.
Disabled by default (writer flushes by RAM usage).
public static final String RAM_BUFFER_SIZE
When this is set, the writer will flush whenever
buffered documents use this much RAM. Pass in IndexWriter.DISABLE_AUTO_FLUSH to prevent triggering a flush due
to RAM usage. Note that if flushing by document count
is also enabled, then the flush will be triggered by
whichever comes first.
The default value is IndexWriter.DEFAULT_RAM_BUFFER_SIZE_MB.
| Constructor Detail |
|---|
public RuntimeLuceneEnvironment.SearchEngineIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||