The IndexWriter type exposes the following members.
Fields
Name | Description | |
---|---|---|
DEFAULT_MAX_BUFFERED_DELETE_TERMS | Disabled by default (because IndexWriter flushes by RAM usage
by default). Change using {@link #SetMaxBufferedDeleteTerms(int)}.
| |
DEFAULT_MAX_BUFFERED_DOCS | Disabled by default (because IndexWriter flushes by RAM usage
by default). Change using {@link #SetMaxBufferedDocs(int)}.
| |
DEFAULT_MAX_FIELD_LENGTH | Default value is 10,000. Change using {@link #SetMaxFieldLength(int)}. | |
DEFAULT_MAX_MERGE_DOCS | Obsolete. | |
DEFAULT_MAX_SYNC_PAUSE_SECONDS | Default for {@link #getMaxSyncPauseSeconds}. On
Windows this defaults to 10.0 seconds; elsewhere it's
0.
| |
DEFAULT_MERGE_FACTOR | Obsolete. | |
DEFAULT_RAM_BUFFER_SIZE_MB | Default value is 16 MB (which means flush when buffered
docs consume 16 MB RAM). Change using {@link #setRAMBufferSizeMB}.
| |
DEFAULT_TERM_INDEX_INTERVAL | Default value is 128. Change using {@link #SetTermIndexInterval(int)}. | |
DISABLE_AUTO_FLUSH | Value to denote a flush trigger is disabled | |
MAX_TERM_LENGTH | Absolute hard maximum length for a term. If a term
arrives from the analyzer longer than this length, it
is skipped and a message is printed to infoStream, if
set (see {@link #setInfoStream}).
| |
WRITE_LOCK_NAME | Name of the write lock in the index. | |
WRITE_LOCK_TIMEOUT | Default value for the write lock timeout (1,000). |