Class LuceneOptimizedPostingsFormat
java.lang.Object
org.apache.lucene.codecs.PostingsFormat
com.apple.foundationdb.record.lucene.codec.LuceneOptimizedPostingsFormat
- All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI
@AutoService(org.apache.lucene.codecs.PostingsFormat.class)
public class LuceneOptimizedPostingsFormat
extends org.apache.lucene.codecs.PostingsFormat
PostingsFormat optimized for FDB storage.-
Field Summary
Fields inherited from class org.apache.lucene.codecs.PostingsFormat
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionLuceneOptimizedPostingsFormat(org.apache.lucene.codecs.PostingsFormat postingsFormat) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.codecs.FieldsConsumerfieldsConsumer(org.apache.lucene.index.SegmentWriteState state) org.apache.lucene.codecs.FieldsProducerfieldsProducer(org.apache.lucene.index.SegmentReadState state) static voidsetAllowCheckDataIntegrity(boolean allow) static booleanMethods inherited from class org.apache.lucene.codecs.PostingsFormat
availablePostingsFormats, forName, getName, reloadPostingsFormats, toString
-
Constructor Details
-
LuceneOptimizedPostingsFormat
public LuceneOptimizedPostingsFormat() -
LuceneOptimizedPostingsFormat
public LuceneOptimizedPostingsFormat(org.apache.lucene.codecs.PostingsFormat postingsFormat)
-
-
Method Details
-
shouldAllowCheckDataIntegrity
public static boolean shouldAllowCheckDataIntegrity() -
setAllowCheckDataIntegrity
public static void setAllowCheckDataIntegrity(boolean allow) -
fieldsConsumer
public org.apache.lucene.codecs.FieldsConsumer fieldsConsumer(org.apache.lucene.index.SegmentWriteState state) throws IOException - Specified by:
fieldsConsumerin classorg.apache.lucene.codecs.PostingsFormat- Throws:
IOException
-
fieldsProducer
public org.apache.lucene.codecs.FieldsProducer fieldsProducer(org.apache.lucene.index.SegmentReadState state) throws IOException - Specified by:
fieldsProducerin classorg.apache.lucene.codecs.PostingsFormat- Throws:
IOException
-