public enum IndexType extends Enum<IndexType>
Enum Constant and Description |
---|
CompactIndex
Index type that takes much less disk space but does not support phrase search and date range search features.
|
MetadataIndex
Index that contains only metadata of documents, without content.
|
NormalIndex
Normal index with documents metadata and documents content which supports all search features.
|
Modifier and Type | Method and Description |
---|---|
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexType NormalIndex
Normal index with documents metadata and documents content which supports all search features.
public static final IndexType MetadataIndex
Index that contains only metadata of documents, without content.
public static final IndexType CompactIndex
Index type that takes much less disk space but does not support phrase search and date range search features.
public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null