public override FieldsConsumer FieldsConsumer(SegmentWriteState state) { throw new System.NotSupportedException("this codec can only be used for reading"); }
public override DocValuesConsumer NormsConsumer(SegmentWriteState state) { return(new Lucene42NormsConsumer(state, DATA_CODEC, DATA_EXTENSION, METADATA_CODEC, METADATA_EXTENSION, acceptableOverheadRatio)); }
public override DocValuesConsumer FieldsConsumer(SegmentWriteState state) { return(new Lucene45DocValuesConsumer(state, DATA_CODEC, DATA_EXTENSION, META_CODEC, META_EXTENSION)); }
/// <summary> /// Returns a <see cref="DocValuesConsumer"/> to write norms to the /// index. /// </summary> public abstract DocValuesConsumer NormsConsumer(SegmentWriteState state);
public override PostingsWriterBase PostingsWriterBase(SegmentWriteState state) { return(new Lucene41PostingsWriter(state)); }
public override FieldsConsumer FieldsConsumer(SegmentWriteState state) { throw UnsupportedOperationException.Create("this codec can only be used for reading"); }
/// <summary> /// Creates the <see cref="Codecs.PostingsWriterBase"/> for this /// format. /// </summary> public abstract PostingsWriterBase PostingsWriterBase(SegmentWriteState state);