Class Lucene46Codec
Implements the Lucene 4.6 index format, with configurable per-field postings
and docvalues formats.
If you want to reuse functionality of this codec in another codec, extend
FilterCodec.
See Lucene.Net.Codecs.Lucene46 package documentation for file format details.
@lucene.experimental
Inheritance
System.Object
Lucene46Codec
Assembly: Lucene.Net.dll
Syntax
public class Lucene46Codec : Codec
Constructors
|
Improve this Doc
View Source
Lucene46Codec()
Declaration
Properties
|
Improve this Doc
View Source
Declaration
public override sealed DocValuesFormat DocValuesFormat { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Declaration
public override sealed FieldInfosFormat FieldInfosFormat { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Declaration
public override sealed LiveDocsFormat LiveDocsFormat { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Declaration
public override sealed NormsFormat NormsFormat { get; }
Property Value
Overrides
|
Improve this Doc
View Source
PostingsFormat
Declaration
public override sealed PostingsFormat PostingsFormat { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Declaration
public override sealed SegmentInfoFormat SegmentInfoFormat { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Declaration
public override sealed StoredFieldsFormat StoredFieldsFormat { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Declaration
public override sealed TermVectorsFormat TermVectorsFormat { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
Returns the docvalues format that should be used for writing
new segments of field.
The default implementation always returns "Lucene45"
Declaration
public virtual DocValuesFormat GetDocValuesFormatForField(string field)
Parameters
| Type |
Name |
Description |
| System.String |
field |
|
Returns
|
Improve this Doc
View Source
GetPostingsFormatForField(String)
Returns the postings format that should be used for writing
new segments of field.
The default implementation always returns "Lucene41"
Declaration
public virtual PostingsFormat GetPostingsFormatForField(string field)
Parameters
| Type |
Name |
Description |
| System.String |
field |
|
Returns