示例#1
0
 public override FieldsConsumer FieldsConsumer(SegmentWriteState state)
 {
     throw new System.NotSupportedException("this codec can only be used for reading");
 }
示例#2
0
 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));
 }
示例#4
0
 /// <summary>
 /// Returns a <see cref="DocValuesConsumer"/> to write norms to the
 /// index.
 /// </summary>
 public abstract DocValuesConsumer NormsConsumer(SegmentWriteState state);
示例#5
0
 public override PostingsWriterBase PostingsWriterBase(SegmentWriteState state)
 {
     return(new Lucene41PostingsWriter(state));
 }
示例#6
0
 public override FieldsConsumer FieldsConsumer(SegmentWriteState state)
 {
     throw UnsupportedOperationException.Create("this codec can only be used for reading");
 }
示例#7
0
 /// <summary>
 /// Creates the <see cref="Codecs.PostingsWriterBase"/> for this
 /// format.
 /// </summary>
 public abstract PostingsWriterBase PostingsWriterBase(SegmentWriteState state);