Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MemoryDocValuesFormat

    In-memory docvalues format.

    Inheritance
    System.Object
    Lucene.Net.Codecs.DocValuesFormat
    MemoryDocValuesFormat
    Inherited Members
    Lucene.Net.Codecs.DocValuesFormat.SetDocValuesFormatFactory(Lucene.Net.Codecs.IDocValuesFormatFactory)
    Lucene.Net.Codecs.DocValuesFormat.GetDocValuesFormatFactory()
    Lucene.Net.Codecs.DocValuesFormat.Name
    Lucene.Net.Codecs.DocValuesFormat.ToString()
    Lucene.Net.Codecs.DocValuesFormat.ForName(System.String)
    Lucene.Net.Codecs.DocValuesFormat.AvailableDocValuesFormats
    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.Memory
    Assembly: Lucene.Net.Codecs.dll
    Syntax
    [DocValuesFormatName("Memory")]
    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 Lucene.Net.Index.NumericDocValues.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    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
    Lucene.Net.Index.SegmentWriteState state
    Returns
    Type Description
    Lucene.Net.Codecs.DocValuesConsumer
    Overrides
    Lucene.Net.Codecs.DocValuesFormat.FieldsConsumer(Lucene.Net.Index.SegmentWriteState)
    | Improve this Doc View Source

    FieldsProducer(SegmentReadState)

    Declaration
    public override DocValuesProducer FieldsProducer(SegmentReadState state)
    Parameters
    Type Name Description
    Lucene.Net.Index.SegmentReadState state
    Returns
    Type Description
    Lucene.Net.Codecs.DocValuesProducer
    Overrides
    Lucene.Net.Codecs.DocValuesFormat.FieldsProducer(Lucene.Net.Index.SegmentReadState)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.