Class Completion99PostingsFormat
- java.lang.Object
-
- org.apache.lucene.codecs.PostingsFormat
-
- org.apache.lucene.search.suggest.document.CompletionPostingsFormat
-
- org.apache.lucene.search.suggest.document.Completion99PostingsFormat
-
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
public class Completion99PostingsFormat extends CompletionPostingsFormat
CompletionPostingsFormatfororg.apache.lucene.backward_codecs.lucene99.Lucene99PostingsFormat. This format is only used for backward-compatibility of the index format and cannot be used to write data, useCompletion912PostingsFormaton new indices.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
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.codecs.PostingsFormat
EMPTY
-
-
Constructor Summary
Constructors Constructor Description Completion99PostingsFormat()Creates aCompletion99PostingsFormatthat will load the completion FST on-heap.Completion99PostingsFormat(CompletionPostingsFormat.FSTLoadMode fstLoadMode)Creates aCompletion99PostingsFormatthat will use the providedfstLoadModeto determine if the completion FST should be loaded on or off heap.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PostingsFormatdelegatePostingsFormat()Concrete implementation should specify the delegating postings format-
Methods 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 Detail
-
Completion99PostingsFormat
public Completion99PostingsFormat()
Creates aCompletion99PostingsFormatthat will load the completion FST on-heap.
-
Completion99PostingsFormat
public Completion99PostingsFormat(CompletionPostingsFormat.FSTLoadMode fstLoadMode)
Creates aCompletion99PostingsFormatthat will use the providedfstLoadModeto determine if the completion FST should be loaded on or off heap.
-
-
Method Detail
-
delegatePostingsFormat
protected PostingsFormat delegatePostingsFormat()
Description copied from class:CompletionPostingsFormatConcrete implementation should specify the delegating postings format- Specified by:
delegatePostingsFormatin classCompletionPostingsFormat
-
-