Module org.apache.lucene.suggest
Class Completion912PostingsFormat
java.lang.Object
org.apache.lucene.codecs.PostingsFormat
org.apache.lucene.search.suggest.document.CompletionPostingsFormat
org.apache.lucene.search.suggest.document.Completion912PostingsFormat
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
CompletionPostingsFormat
for
org.apache.lucene.backward_codecs.lucene912.Lucene912PostingsFormat
. This format is only used
for backward-compatibility of the index format and cannot be used to write data, use Completion101PostingsFormat
on new indices.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.suggest.document.CompletionPostingsFormat
CompletionPostingsFormat.FSTLoadMode
-
Field Summary
Fields inherited from class org.apache.lucene.search.suggest.document.CompletionPostingsFormat
COMPLETION_CODEC_VERSION, COMPLETION_VERSION_CURRENT, DICT_EXTENSION, INDEX_EXTENSION
Fields inherited from class org.apache.lucene.codecs.PostingsFormat
EMPTY
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aCompletion912PostingsFormat
that will load the completion FST on-heap.Creates aCompletion912PostingsFormat
that will use the providedfstLoadMode
to determine if the completion FST should be loaded on or off heap. -
Method Summary
Modifier and TypeMethodDescriptionprotected PostingsFormat
Concrete implementation should specify the delegating postings formatMethods inherited from class org.apache.lucene.search.suggest.document.CompletionPostingsFormat
fieldsConsumer, fieldsProducer
Methods inherited from class org.apache.lucene.codecs.PostingsFormat
availablePostingsFormats, forName, getName, reloadPostingsFormats, toString
-
Constructor Details
-
Completion912PostingsFormat
public Completion912PostingsFormat()Creates aCompletion912PostingsFormat
that will load the completion FST on-heap. -
Completion912PostingsFormat
Creates aCompletion912PostingsFormat
that will use the providedfstLoadMode
to determine if the completion FST should be loaded on or off heap.
-
-
Method Details
-
delegatePostingsFormat
Description copied from class:CompletionPostingsFormat
Concrete implementation should specify the delegating postings format- Specified by:
delegatePostingsFormat
in classCompletionPostingsFormat
-