Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Lucene42RWCodec

    Read-write version of Lucene.Net.Codecs.Lucene42.Lucene42Codec for testing.

    Inheritance
    object
    Codec
    Lucene42Codec
    Lucene42RWCodec
    Inherited Members
    Lucene42Codec.StoredFieldsFormat
    Lucene42Codec.TermVectorsFormat
    Lucene42Codec.PostingsFormat
    Lucene42Codec.SegmentInfoFormat
    Lucene42Codec.LiveDocsFormat
    Lucene42Codec.GetPostingsFormatForField(string)
    Lucene42Codec.DocValuesFormat
    Codec.SetCodecFactory(ICodecFactory)
    Codec.GetCodecFactory()
    Codec.Name
    Codec.ForName(string)
    Codec.AvailableCodecs
    Codec.Default
    Codec.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Codecs.Lucene42
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class Lucene42RWCodec : Lucene42Codec

    Properties

    FieldInfosFormat

    Encodes/decodes field infos file.

    Declaration
    public override FieldInfosFormat FieldInfosFormat { get; }
    Property Value
    Type Description
    FieldInfosFormat
    Overrides
    Lucene.Net.Codecs.Lucene42.Lucene42Codec.FieldInfosFormat

    NormsFormat

    Encodes/decodes document normalization values.

    Declaration
    public override NormsFormat NormsFormat { get; }
    Property Value
    Type Description
    NormsFormat
    Overrides
    Lucene.Net.Codecs.Lucene42.Lucene42Codec.NormsFormat

    Methods

    GetDocValuesFormatForField(string)

    Returns the docvalues format that should be used for writing new segments of field.

    The default implementation always returns "Lucene42"
    Declaration
    public override DocValuesFormat GetDocValuesFormatForField(string field)
    Parameters
    Type Name Description
    string field
    Returns
    Type Description
    DocValuesFormat
    Overrides
    Lucene42Codec.GetDocValuesFormatForField(string)
    Back to top Copyright © 2024 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.