java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | org.apache.lucene.index.IndexWriterConfig.OpenMode |
Specifies the open mode for IndexWriter
:
CREATE
- creates a new index or overwrites an existing one.
CREATE_OR_APPEND
- creates a new index if one does not exist,
otherwise it opens the index and documents will be appended.
APPEND
- opens an existing index.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IndexWriterConfig.OpenMode | APPEND | ||||||||||
IndexWriterConfig.OpenMode | CREATE | ||||||||||
IndexWriterConfig.OpenMode | CREATE_OR_APPEND |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|