Package | Description |
---|---|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
Modifier and Type | Field and Description |
---|---|
private CompletionPostingsFormat.FSTLoadMode |
CompletionsTermsReader.fstLoadMode |
private CompletionPostingsFormat.FSTLoadMode |
CompletionPostingsFormat.fstLoadMode |
Modifier and Type | Method and Description |
---|---|
static CompletionPostingsFormat.FSTLoadMode |
CompletionPostingsFormat.FSTLoadMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompletionPostingsFormat.FSTLoadMode[] |
CompletionPostingsFormat.FSTLoadMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static NRTSuggester |
NRTSuggester.load(IndexInput input,
CompletionPostingsFormat.FSTLoadMode fstLoadMode)
|
private static boolean |
NRTSuggester.shouldLoadFSTOffHeap(IndexInput input,
CompletionPostingsFormat.FSTLoadMode fstLoadMode) |
Constructor and Description |
---|
Completion50PostingsFormat(CompletionPostingsFormat.FSTLoadMode fstLoadMode)
Creates a
Completion50PostingsFormat that will
use the provided fstLoadMode to determine
if the completion FST should be loaded on or off heap. |
Completion84PostingsFormat(CompletionPostingsFormat.FSTLoadMode fstLoadMode)
Creates a
Completion84PostingsFormat that will
use the provided fstLoadMode to determine
if the completion FST should be loaded on or off heap. |
CompletionFieldsProducer(java.lang.String codecName,
SegmentReadState state,
CompletionPostingsFormat.FSTLoadMode fstLoadMode) |
CompletionPostingsFormat(java.lang.String name,
CompletionPostingsFormat.FSTLoadMode fstLoadMode)
Creates a
CompletionPostingsFormat that will
use the provided fstLoadMode to determine
if the completion FST should be loaded on or off heap. |
CompletionsTermsReader(IndexInput dictIn,
long offset,
long minWeight,
long maxWeight,
byte type,
CompletionPostingsFormat.FSTLoadMode fstLoadMode)
Creates a CompletionTermsReader to load a field-specific suggester
from the index
dictIn with offset |