Show / Hide Table of Contents

    Class MemoryDocValuesFormat

    In-memory docvalues format.

    Inheritance
    System.Object
    DocValuesFormat
    MemoryDocValuesFormat
    Inherited Members
    DocValuesFormat.SetDocValuesFormatFactory(IDocValuesFormatFactory)
    DocValuesFormat.GetDocValuesFormatFactory()
    DocValuesFormat.Name
    DocValuesFormat.ToString()
    DocValuesFormat.ForName(String)
    DocValuesFormat.AvailableDocValuesFormats
    Namespace: Lucene.Net.Codecs.Memory
    Assembly: Lucene.Net.Codecs.dll
    Syntax
    public class MemoryDocValuesFormat : DocValuesFormat

    Constructors

    | Improve this Doc View Source

    MemoryDocValuesFormat()

    Calls MemoryDocValuesFormat(PackedInts.DEFAULT) (MemoryDocValuesFormat(Single))

    Declaration
    public MemoryDocValuesFormat()
    | Improve this Doc View Source

    MemoryDocValuesFormat(Single)

    Creates a new MemoryDocValuesFormat with the specified acceptableOverheadRatio for NumericDocValues.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Declaration
    public MemoryDocValuesFormat(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.

    Fields

    | Improve this Doc View Source

    MAX_BINARY_FIELD_LENGTH

    Maximum length for each binary doc values field.

    Declaration
    public static readonly int MAX_BINARY_FIELD_LENGTH
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    FieldsConsumer(SegmentWriteState)

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

    FieldsProducer(SegmentReadState)

    Declaration
    public override DocValuesProducer FieldsProducer(SegmentReadState state)
    Parameters
    Type Name Description
    SegmentReadState state
    Returns
    Type Description
    DocValuesProducer
    Overrides
    DocValuesFormat.FieldsProducer(SegmentReadState)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)