public class Completion50PostingsFormat extends CompletionPostingsFormat
CompletionPostingsFormat
for org.apache.lucene.codecs.lucene50.Lucene50PostingsFormat.
This format is only used for backward-compatibility of the index format
and cannot be used to write data, use Completion84PostingsFormat
on new indices.CompletionPostingsFormat.FSTLoadMode| Constructor and Description |
|---|
Completion50PostingsFormat()
Creates a
Completion50PostingsFormat that will load
the completion FST on-heap. |
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. |
| Modifier and Type | Method and Description |
|---|---|
protected PostingsFormat |
delegatePostingsFormat()
Concrete implementation should specify the delegating postings format
|
fieldsConsumer, fieldsProducerpublic Completion50PostingsFormat()
Completion50PostingsFormat that will load
the completion FST on-heap.public Completion50PostingsFormat(CompletionPostingsFormat.FSTLoadMode fstLoadMode)
Completion50PostingsFormat that will
use the provided fstLoadMode to determine
if the completion FST should be loaded on or off heap.protected PostingsFormat delegatePostingsFormat()
CompletionPostingsFormatdelegatePostingsFormat in class CompletionPostingsFormatData In Motion GmbH all rights reserved