Class Lucene42Codec
Implements the Lucene 4.2 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.Lucene42 package documentation for file format details.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.Codecs.Lucene42
Assembly: Lucene.Net.dll
Syntax
[Obsolete("Only for reading old 4.2 segments")]
[CodecName("Lucene42")]
public class Lucene42Codec : CodecConstructors
| Improve this Doc View SourceLucene42Codec()
Sole constructor.
Declaration
public Lucene42Codec()Properties
| Improve this Doc View SourceDocValuesFormat
Declaration
public override sealed DocValuesFormat DocValuesFormat { get; }Property Value
| Type | Description | 
|---|---|
| DocValuesFormat | 
Overrides
| Improve this Doc View SourceFieldInfosFormat
Declaration
public override FieldInfosFormat FieldInfosFormat { get; }Property Value
| Type | Description | 
|---|---|
| FieldInfosFormat | 
Overrides
| Improve this Doc View SourceLiveDocsFormat
Declaration
public override sealed LiveDocsFormat LiveDocsFormat { get; }Property Value
| Type | Description | 
|---|---|
| LiveDocsFormat | 
Overrides
| Improve this Doc View SourceNormsFormat
Declaration
public override NormsFormat NormsFormat { get; }Property Value
| Type | Description | 
|---|---|
| NormsFormat | 
Overrides
| Improve this Doc View SourcePostingsFormat
Declaration
public override sealed PostingsFormat PostingsFormat { get; }Property Value
| Type | Description | 
|---|---|
| PostingsFormat | 
Overrides
| Improve this Doc View SourceSegmentInfoFormat
Declaration
public override SegmentInfoFormat SegmentInfoFormat { get; }Property Value
| Type | Description | 
|---|---|
| SegmentInfoFormat | 
Overrides
| Improve this Doc View SourceStoredFieldsFormat
Declaration
public override sealed StoredFieldsFormat StoredFieldsFormat { get; }Property Value
| Type | Description | 
|---|---|
| StoredFieldsFormat | 
Overrides
| Improve this Doc View SourceTermVectorsFormat
Declaration
public override sealed TermVectorsFormat TermVectorsFormat { get; }Property Value
| Type | Description | 
|---|---|
| TermVectorsFormat | 
Overrides
Methods
| Improve this Doc View SourceGetDocValuesFormatForField(String)
Returns the docvalues format that should be used for writing
new segments of field.
The default implementation always returns "Lucene42"
Declaration
public virtual DocValuesFormat GetDocValuesFormatForField(string field)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | field | 
Returns
| Type | Description | 
|---|---|
| DocValuesFormat | 
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
| Type | Description | 
|---|---|
| PostingsFormat |