C# Class Lucene.Net.Codecs.Lucene42.Lucene42RWDocValuesFormat

Read-write version of Lucene42DocValuesFormat for testing.
Inheritance: Lucene.Net.Codecs.Lucene42.Lucene42DocValuesFormat
ファイルを表示 Open project: apache/lucenenet

Public Methods

Method Description
FieldsConsumer ( Lucene.Net.Index.SegmentWriteState state ) : DocValuesConsumer
Lucene42RWDocValuesFormat ( )

LUCENENET specific Creates the codec with OldFormatImpersonationIsActive = true.

Added so that SPIClassIterator can locate this Codec. The iterator only recognises classes that have empty constructors.

Lucene42RWDocValuesFormat ( bool oldFormatImpersonationIsActive )

Method Details

FieldsConsumer() public method

public FieldsConsumer ( Lucene.Net.Index.SegmentWriteState state ) : DocValuesConsumer
state Lucene.Net.Index.SegmentWriteState
return DocValuesConsumer

Lucene42RWDocValuesFormat() public method

LUCENENET specific Creates the codec with OldFormatImpersonationIsActive = true.
Added so that SPIClassIterator can locate this Codec. The iterator only recognises classes that have empty constructors.

Lucene42RWDocValuesFormat() public method

public Lucene42RWDocValuesFormat ( bool oldFormatImpersonationIsActive )
oldFormatImpersonationIsActive bool /// LUCENENET specific /// Added to remove dependency on then-static ///