public static enum BlockTreeTermsReader.FSTLoadMode extends Enum<BlockTreeTermsReader.FSTLoadMode>
Enum Constant and Description |
---|
AUTO
Automatically make the decision if FSTs are read from disk depending if the segment read from an MMAPDirectory
An exception is made for ID fields in an IndexWriter context which are always loaded into memory.
|
OFF_HEAP
Always read FSTs from disk.
|
ON_HEAP
Never read FSTs from disk ie.
|
OPTIMIZE_UPDATES_OFF_HEAP
Always read FSTs from disk.
|
Modifier and Type | Method and Description |
---|---|
static BlockTreeTermsReader.FSTLoadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockTreeTermsReader.FSTLoadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockTreeTermsReader.FSTLoadMode OFF_HEAP
public static final BlockTreeTermsReader.FSTLoadMode ON_HEAP
public static final BlockTreeTermsReader.FSTLoadMode OPTIMIZE_UPDATES_OFF_HEAP
AUTO
public static final BlockTreeTermsReader.FSTLoadMode AUTO
public static BlockTreeTermsReader.FSTLoadMode[] values()
for (BlockTreeTermsReader.FSTLoadMode c : BlockTreeTermsReader.FSTLoadMode.values()) System.out.println(c);
public static BlockTreeTermsReader.FSTLoadMode 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 nullCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.