Show / Hide Table of Contents

    Enum DocValuesType

    DocValues types. Note that DocValues is strongly typed, so a field cannot have different types across different documents.

    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public enum DocValuesType : int

    Fields

    Name Description
    BINARY

    A per-document byte[]. Values may be larger than 32766 bytes, but different codecs may enforce their own limits.

    NONE

    No doc values type will be used.

    NOTE: This is the same as setting to null in Lucene

    NUMERIC

    A per-document numeric type

    SORTED

    A pre-sorted byte[]. Fields with this type only store distinct byte values and store an additional offset pointer per document to dereference the shared byte[]. The stored byte[] is presorted and allows access via document id, ordinal and by-value. Values must be <= 32766 bytes.

    SORTED_SET

    A pre-sorted ISet<byte[]>. Fields with this type only store distinct byte values and store additional offset pointers per document to dereference the shared byte[]s. The stored byte[] is presorted and allows access via document id, ordinal and by-value. Values must be <= 32766 bytes.

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