Show / Hide Table of Contents

    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
    Codec
    Lucene40Codec
    Inherited Members
    Codec.SetCodecFactory(ICodecFactory)
    Codec.GetCodecFactory()
    Codec.Name
    Codec.ForName(String)
    Codec.AvailableCodecs
    Codec.Default
    Codec.ToString()
    Namespace: Lucene.Net.Codecs.Lucene40
    Assembly: Lucene.Net.dll
    Syntax
    public class Lucene40Codec : Codec

    Constructors

    | Improve this Doc View Source

    Lucene40Codec()

    Sole constructor.

    Declaration
    public Lucene40Codec()

    Properties

    | Improve this Doc View Source

    DocValuesFormat

    Declaration
    public override DocValuesFormat DocValuesFormat { get; }
    Property Value
    Type Description
    DocValuesFormat
    Overrides
    Codec.DocValuesFormat
    | Improve this Doc View Source

    FieldInfosFormat

    Declaration
    public override FieldInfosFormat FieldInfosFormat { get; }
    Property Value
    Type Description
    FieldInfosFormat
    Overrides
    Codec.FieldInfosFormat
    | Improve this Doc View Source

    LiveDocsFormat

    Declaration
    public override sealed LiveDocsFormat LiveDocsFormat { get; }
    Property Value
    Type Description
    LiveDocsFormat
    Overrides
    Codec.LiveDocsFormat
    | Improve this Doc View Source

    NormsFormat

    Declaration
    public override NormsFormat NormsFormat { get; }
    Property Value
    Type Description
    NormsFormat
    Overrides
    Codec.NormsFormat
    | Improve this Doc View Source

    PostingsFormat

    Declaration
    public override sealed PostingsFormat PostingsFormat { get; }
    Property Value
    Type Description
    PostingsFormat
    Overrides
    Codec.PostingsFormat
    | Improve this Doc View Source

    SegmentInfoFormat

    Declaration
    public override SegmentInfoFormat SegmentInfoFormat { get; }
    Property Value
    Type Description
    SegmentInfoFormat
    Overrides
    Codec.SegmentInfoFormat
    | Improve this Doc View Source

    StoredFieldsFormat

    Declaration
    public override sealed StoredFieldsFormat StoredFieldsFormat { get; }
    Property Value
    Type Description
    StoredFieldsFormat
    Overrides
    Codec.StoredFieldsFormat
    | Improve this Doc View Source

    TermVectorsFormat

    Declaration
    public override sealed TermVectorsFormat TermVectorsFormat { get; }
    Property Value
    Type Description
    TermVectorsFormat
    Overrides
    Codec.TermVectorsFormat

    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
    Type Description
    PostingsFormat
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)