Fork me on GitHub
  • API

    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

    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 © 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.