Show / Hide Table of Contents

    Class Lucene42NormsFormat

    Lucene 4.2 score normalization format.

    NOTE: this uses the same format as Lucene42DocValuesFormat Numeric DocValues, but with different file extensions, and passing FASTEST for uncompressed encoding: trading off space for performance.

    Files:

    • .nvd: DocValues data
    • .nvm: DocValues metadata

    Inheritance
    System.Object
    NormsFormat
    Lucene42NormsFormat
    Namespace: Lucene.Net.Codecs.Lucene42
    Assembly: Lucene.Net.dll
    Syntax
    public class Lucene42NormsFormat : NormsFormat

    Constructors

    | Improve this Doc View Source

    Lucene42NormsFormat()

    Calls Lucene42DocValuesFormat(PackedInt32s.FASTEST) (Lucene42NormsFormat(Single)).

    Declaration
    public Lucene42NormsFormat()
    | Improve this Doc View Source

    Lucene42NormsFormat(Single)

    Creates a new Lucene42DocValuesFormat with the specified acceptableOverheadRatio for NumericDocValues.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Declaration
    public Lucene42NormsFormat(float acceptableOverheadRatio)
    Parameters
    Type Name Description
    System.Single acceptableOverheadRatio

    Compression parameter for numerics. Currently this is only used when the number of unique values is small.

    Methods

    | Improve this Doc View Source

    NormsConsumer(SegmentWriteState)

    Declaration
    public override DocValuesConsumer NormsConsumer(SegmentWriteState state)
    Parameters
    Type Name Description
    SegmentWriteState state
    Returns
    Type Description
    DocValuesConsumer
    Overrides
    NormsFormat.NormsConsumer(SegmentWriteState)
    | Improve this Doc View Source

    NormsProducer(SegmentReadState)

    Declaration
    public override DocValuesProducer NormsProducer(SegmentReadState state)
    Parameters
    Type Name Description
    SegmentReadState state
    Returns
    Type Description
    DocValuesProducer
    Overrides
    NormsFormat.NormsProducer(SegmentReadState)

    See Also

    Lucene42DocValuesFormat
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)