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
EMPTY
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, fieldsProducer
availablePostingsFormats, forName, getName, reloadPostingsFormats, toString
public 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()
CompletionPostingsFormat
delegatePostingsFormat
in class CompletionPostingsFormat
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.