@Deprecated public class BloomFilterPostingsFormat extends org.apache.lucene.codecs.PostingsFormat
A PostingsFormat useful for low doc-frequency fields such as primary
keys. Bloom filters are maintained in a ".blm" file which offers "fast-fail"
for reads in segments known to have no record of the key. A choice of
delegate PostingsFormat is used to record all other Postings data.
This is a special bloom filter version, based on BloomFilter and inspired
by Lucene org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat.
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
BloomFilterPostingsFormat.BloomFilteredFieldsConsumer
非推奨です。
|
class |
BloomFilterPostingsFormat.BloomFilteredFieldsProducer
非推奨です。
|
static class |
BloomFilterPostingsFormat.BloomFilteredTerms
非推奨です。
|
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
BLOOM_CODEC_NAME
非推奨です。
|
static int |
BLOOM_CODEC_VERSION
非推奨です。
|
static int |
BLOOM_CODEC_VERSION_CHECKSUM
非推奨です。
|
static int |
BLOOM_CODEC_VERSION_CURRENT
非推奨です。
|
| コンストラクタと説明 |
|---|
BloomFilterPostingsFormat()
非推奨です。
|
BloomFilterPostingsFormat(org.apache.lucene.codecs.PostingsFormat delegatePostingsFormat,
BloomFilter.Factory bloomFilterFactory)
非推奨です。
Creates Bloom filters for a selection of fields created in the index.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
BloomFilterPostingsFormat.BloomFilteredFieldsConsumer |
fieldsConsumer(org.apache.lucene.index.SegmentWriteState state)
非推奨です。
|
BloomFilterPostingsFormat.BloomFilteredFieldsProducer |
fieldsProducer(org.apache.lucene.index.SegmentReadState state)
非推奨です。
|
org.apache.lucene.codecs.PostingsFormat |
getDelegate()
非推奨です。
|
public static final int BLOOM_CODEC_VERSION
public static final int BLOOM_CODEC_VERSION_CHECKSUM
public static final int BLOOM_CODEC_VERSION_CURRENT
public BloomFilterPostingsFormat(org.apache.lucene.codecs.PostingsFormat delegatePostingsFormat,
BloomFilter.Factory bloomFilterFactory)
delegatePostingsFormat - The PostingsFormat that records all the non-bloom filter data i.e.
postings info.bloomFilterFactory - The BloomFilter.Factory responsible for sizing BloomFilters
appropriatelypublic BloomFilterPostingsFormat()
public BloomFilterPostingsFormat.BloomFilteredFieldsConsumer fieldsConsumer(org.apache.lucene.index.SegmentWriteState state) throws IOException
fieldsConsumer クラス内 org.apache.lucene.codecs.PostingsFormatIOExceptionpublic BloomFilterPostingsFormat.BloomFilteredFieldsProducer fieldsProducer(org.apache.lucene.index.SegmentReadState state) throws IOException
fieldsProducer クラス内 org.apache.lucene.codecs.PostingsFormatIOExceptionpublic org.apache.lucene.codecs.PostingsFormat getDelegate()
Copyright © 2009–2016. All rights reserved.