public static final enum

IndexWriterConfig.OpenMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.apache.lucene.index.IndexWriterConfig.OpenMode

Class Overview

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.

Summary

Enum Values
IndexWriterConfig.OpenMode  APPEND   
IndexWriterConfig.OpenMode  CREATE   
IndexWriterConfig.OpenMode  CREATE_OR_APPEND   
Public Methods
static IndexWriterConfig.OpenMode valueOf(String name)
final static OpenMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final IndexWriterConfig.OpenMode APPEND

public static final IndexWriterConfig.OpenMode CREATE

public static final IndexWriterConfig.OpenMode CREATE_OR_APPEND

Public Methods

public static IndexWriterConfig.OpenMode valueOf (String name)

public static final OpenMode[] values ()