Show / Hide Table of Contents

    Class CompressingCodec

    A codec that uses CompressingStoredFieldsFormat for its stored fields and delegates to Lucene46Codec for everything else.

    Inheritance
    System.Object
    Codec
    FilterCodec
    CompressingCodec
    DummyCompressingCodec
    FastCompressingCodec
    FastDecompressionCompressingCodec
    HighCompressionCompressingCodec
    Inherited Members
    FilterCodec.m_delegate
    FilterCodec.DocValuesFormat
    FilterCodec.FieldInfosFormat
    FilterCodec.LiveDocsFormat
    FilterCodec.NormsFormat
    FilterCodec.PostingsFormat
    FilterCodec.SegmentInfoFormat
    Codec.SetCodecFactory(ICodecFactory)
    Codec.GetCodecFactory()
    Codec.Name
    Codec.ForName(String)
    Codec.AvailableCodecs
    Codec.Default
    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.Compressing
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public abstract class CompressingCodec : FilterCodec

    Constructors

    | Improve this Doc View Source

    CompressingCodec(CompressionMode, Int32)

    Creates a compressing codec with an empty segment suffix.

    Declaration
    public CompressingCodec(CompressionMode compressionMode, int chunkSize)
    Parameters
    Type Name Description
    CompressionMode compressionMode
    System.Int32 chunkSize
    | Improve this Doc View Source

    CompressingCodec(String, CompressionMode, Int32)

    Creates a compressing codec with a given segmentSuffix.

    Declaration
    public CompressingCodec(string segmentSuffix, CompressionMode compressionMode, int chunkSize)
    Parameters
    Type Name Description
    System.String segmentSuffix
    CompressionMode compressionMode
    System.Int32 chunkSize

    Properties

    | Improve this Doc View Source

    StoredFieldsFormat

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

    TermVectorsFormat

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

    Methods

    | Improve this Doc View Source

    RandomInstance(Random)

    Creates a random CompressingCodec that is using an empty segment suffix.

    Declaration
    public static CompressingCodec RandomInstance(Random random)
    Parameters
    Type Name Description
    System.Random random
    Returns
    Type Description
    CompressingCodec
    | Improve this Doc View Source

    RandomInstance(Random, Boolean)

    Creates a random CompressingCodec that is using a segment suffix.

    Declaration
    public static CompressingCodec RandomInstance(Random random, bool withSegmentSuffix)
    Parameters
    Type Name Description
    System.Random random
    System.Boolean withSegmentSuffix
    Returns
    Type Description
    CompressingCodec
    | Improve this Doc View Source

    RandomInstance(Random, Int32, Boolean)

    Create a random instance.

    Declaration
    public static CompressingCodec RandomInstance(Random random, int chunkSize, bool withSegmentSuffix)
    Parameters
    Type Name Description
    System.Random random
    System.Int32 chunkSize
    System.Boolean withSegmentSuffix
    Returns
    Type Description
    CompressingCodec
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    Codec.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)