The IndexWriter type exposes the following members.

Fields

  NameDescription
Public fieldStatic memberDEFAULT_MAX_BUFFERED_DELETE_TERMS
Disabled by default (because IndexWriter flushes by RAM usage by default). Change using {@link #SetMaxBufferedDeleteTerms(int)}.
Public fieldStatic memberDEFAULT_MAX_BUFFERED_DOCS
Disabled by default (because IndexWriter flushes by RAM usage by default). Change using {@link #SetMaxBufferedDocs(int)}.
Public fieldStatic memberDEFAULT_MAX_FIELD_LENGTH
Default value is 10,000. Change using {@link #SetMaxFieldLength(int)}.
Public fieldStatic memberDEFAULT_MAX_MERGE_DOCS Obsolete.
Public fieldStatic memberDEFAULT_MAX_SYNC_PAUSE_SECONDS
Default for {@link #getMaxSyncPauseSeconds}. On Windows this defaults to 10.0 seconds; elsewhere it's 0.
Public fieldStatic memberDEFAULT_MERGE_FACTOR Obsolete.
Public fieldStatic memberDEFAULT_RAM_BUFFER_SIZE_MB
Default value is 16 MB (which means flush when buffered docs consume 16 MB RAM). Change using {@link #setRAMBufferSizeMB}.
Public fieldStatic memberDEFAULT_TERM_INDEX_INTERVAL
Default value is 128. Change using {@link #SetTermIndexInterval(int)}.
Public fieldStatic memberDISABLE_AUTO_FLUSH
Value to denote a flush trigger is disabled
Public fieldStatic memberMAX_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}).
Public fieldStatic memberWRITE_LOCK_NAME
Name of the write lock in the index.
Public fieldStatic memberWRITE_LOCK_TIMEOUT
Default value for the write lock timeout (1,000).

See Also