Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    Codec
    Lucene46Codec
    Inherited Members
    Codec.SetCodecFactory(ICodecFactory)
    Codec.GetCodecFactory()
    Codec.Name
    Codec.ForName(String)
    Codec.AvailableCodecs
    Codec.Default
    Codec.ToString()
    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.Lucene46
    Assembly: Lucene.Net.dll
    Syntax
    [CodecName("Lucene46")]
    public class Lucene46Codec : Codec

    Constructors

    | Improve this Doc View Source

    Lucene46Codec()

    Sole constructor.

    Declaration
    public Lucene46Codec()

    Properties

    | Improve this Doc View Source

    DocValuesFormat

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

    FieldInfosFormat

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

    LiveDocsFormat

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

    NormsFormat

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

    PostingsFormat

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

    SegmentInfoFormat

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

    StoredFieldsFormat

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

    TermVectorsFormat

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

    Methods

    | Improve this Doc View Source

    GetDocValuesFormatForField(String)

    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
    Type Description
    DocValuesFormat
    | 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
    Type Description
    PostingsFormat
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.