• API

    Show / Hide Table of Contents

    Class Lucene40NormsFormat

    Lucene 4.0 Norms Format.

    Files:

    • .nrm.cfs: compound container (CompoundFileDirectory)
    • .nrm.cfe: compound entries (CompoundFileDirectory)
    Norms are implemented as DocValues, so other than file extension, norms are written exactly the same way as Lucene40DocValuesFormat.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    NormsFormat
    Lucene40NormsFormat
    Inherited Members
    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)
    System.Object.ToString()
    Namespace: Lucene.Net.Codecs.Lucene40
    Assembly: Lucene.Net.dll
    Syntax
    [Obsolete("Only for reading old 4.0 and 4.1 segments")]
    public class Lucene40NormsFormat : NormsFormat

    Constructors

    | Improve this Doc View Source

    Lucene40NormsFormat()

    Sole constructor.

    Declaration
    public Lucene40NormsFormat()

    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

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