public class Completion090PostingsFormat
extends org.apache.lucene.codecs.PostingsFormat
PostingsFormat is basically a T-Sink for a default postings
format that is used to store postings on disk fitting the lucene APIs and
builds a suggest FST as an auxiliary data structure next to the actual
postings format. It uses the delegate postings format for simplicity to
handle all the merge operations. The auxiliary suggest FST data structure is
only loaded if a FieldsProducer is requested for reading, for merging it uses
the low memory delegate postings format.| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
Completion090PostingsFormat.CompletionLookupProvider |
static class |
Completion090PostingsFormat.CompletionTerms |
static class |
Completion090PostingsFormat.LookupFactory |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
CODEC_NAME |
static String |
EXTENSION |
static int |
SUGGEST_CODEC_VERSION |
static int |
SUGGEST_VERSION_CURRENT |
| コンストラクタと説明 |
|---|
Completion090PostingsFormat() |
Completion090PostingsFormat(org.apache.lucene.codecs.PostingsFormat delegatePostingsFormat,
Completion090PostingsFormat.CompletionLookupProvider provider) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
CompletionStats |
completionStats(org.apache.lucene.index.IndexReader indexReader,
String... fieldNamePatterns)
Returns total in-heap bytes used by all suggesters.
|
org.elasticsearch.search.suggest.completion.Completion090PostingsFormat.CompletionFieldsConsumer |
fieldsConsumer(org.apache.lucene.index.SegmentWriteState state) |
org.elasticsearch.search.suggest.completion.Completion090PostingsFormat.CompletionFieldsProducer |
fieldsProducer(org.apache.lucene.index.SegmentReadState state) |
public static final int SUGGEST_CODEC_VERSION
public static final int SUGGEST_VERSION_CURRENT
public Completion090PostingsFormat(org.apache.lucene.codecs.PostingsFormat delegatePostingsFormat,
Completion090PostingsFormat.CompletionLookupProvider provider)
public Completion090PostingsFormat()
public org.elasticsearch.search.suggest.completion.Completion090PostingsFormat.CompletionFieldsConsumer fieldsConsumer(org.apache.lucene.index.SegmentWriteState state)
throws IOException
fieldsConsumer クラス内 org.apache.lucene.codecs.PostingsFormatIOExceptionpublic org.elasticsearch.search.suggest.completion.Completion090PostingsFormat.CompletionFieldsProducer fieldsProducer(org.apache.lucene.index.SegmentReadState state)
throws IOException
fieldsProducer クラス内 org.apache.lucene.codecs.PostingsFormatIOExceptionpublic CompletionStats completionStats(org.apache.lucene.index.IndexReader indexReader, String... fieldNamePatterns)
O(numIndexedFields).fieldNamePatterns - if non-null, any completion field name matching any of these patterns will break out its in-heap bytes
separately in the returned CompletionStatsCopyright © 2009–2016. All rights reserved.