public enum IndexType extends Enum<IndexType>
Learn more
| 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 CompactIndex
public static final IndexType MetadataIndex
public static final IndexType NormalIndex
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 nullpublic static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
Copyright © 2026. All rights reserved.