Class Lucene40Codec
Implements the Lucene 4.0 index format, with configurable per-field postings formats.
If you want to reuse functionality of this codec in another codec, extend
FilterCodec.
See Lucene.Net.Codecs.Lucene40 package documentation for file format details.
Inheritance
System.Object
Lucene40Codec
Assembly: Lucene.Net.dll
Syntax
public class Lucene40Codec : Codec
Constructors
|
Improve this Doc
View Source
Lucene40Codec()
Declaration
Properties
|
Improve this Doc
View Source
Declaration
public override DocValuesFormat DocValuesFormat { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Declaration
public override 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 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 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
GetPostingsFormatForField(String)
Returns the postings format that should be used for writing
new segments of field
.
The default implementation always returns "Lucene40".
Declaration
public virtual PostingsFormat GetPostingsFormatForField(string field)
Parameters
Type |
Name |
Description |
System.String |
field |
|
Returns