Class LuceneOptimizedDocValuesFormat
java.lang.Object
org.apache.lucene.codecs.DocValuesFormat
com.apple.foundationdb.record.lucene.codec.LuceneOptimizedDocValuesFormat
- All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI
@AutoService(org.apache.lucene.codecs.DocValuesFormat.class)
public class LuceneOptimizedDocValuesFormat
extends org.apache.lucene.codecs.DocValuesFormat
This class provides a Lazy reader implementation to limit the amount of
data needed to be read from FDB.
-
Constructor Summary
ConstructorsConstructorDescriptionLuceneOptimizedDocValuesFormat(org.apache.lucene.codecs.DocValuesFormat docValuesFormat) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.codecs.DocValuesConsumerfieldsConsumer(org.apache.lucene.index.SegmentWriteState state) org.apache.lucene.codecs.DocValuesProducerfieldsProducer(org.apache.lucene.index.SegmentReadState state) Methods inherited from class org.apache.lucene.codecs.DocValuesFormat
availableDocValuesFormats, forName, getName, reloadDocValuesFormats, toString
-
Constructor Details
-
LuceneOptimizedDocValuesFormat
public LuceneOptimizedDocValuesFormat() -
LuceneOptimizedDocValuesFormat
public LuceneOptimizedDocValuesFormat(org.apache.lucene.codecs.DocValuesFormat docValuesFormat)
-
-
Method Details
-
fieldsConsumer
public org.apache.lucene.codecs.DocValuesConsumer fieldsConsumer(org.apache.lucene.index.SegmentWriteState state) throws IOException - Specified by:
fieldsConsumerin classorg.apache.lucene.codecs.DocValuesFormat- Throws:
IOException
-
fieldsProducer
public org.apache.lucene.codecs.DocValuesProducer fieldsProducer(org.apache.lucene.index.SegmentReadState state) throws IOException - Specified by:
fieldsProducerin classorg.apache.lucene.codecs.DocValuesFormat- Throws:
IOException
-