Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Lucene45DocValuesConsumer

    Writer for Lucene45DocValuesFormat

    Inheritance
    System.Object
    DocValuesConsumer
    Lucene45DocValuesConsumer
    Implements
    System.IDisposable
    Inherited Members
    DocValuesConsumer.MergeNumericField(FieldInfo, MergeState, IList<NumericDocValues>, IList<IBits>)
    DocValuesConsumer.MergeBinaryField(FieldInfo, MergeState, IList<BinaryDocValues>, IList<IBits>)
    DocValuesConsumer.MergeSortedField(FieldInfo, MergeState, IList<SortedDocValues>)
    DocValuesConsumer.MergeSortedSetField(FieldInfo, MergeState, IList<SortedSetDocValues>)
    DocValuesConsumer.Dispose()
    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.Lucene45
    Assembly: Lucene.Net.dll
    Syntax
    public class Lucene45DocValuesConsumer : DocValuesConsumer, IDisposable

    Constructors

    | Improve this Doc View Source

    Lucene45DocValuesConsumer(SegmentWriteState, String, String, String, String)

    Expert: Creates a new writer.

    Declaration
    public Lucene45DocValuesConsumer(SegmentWriteState state, string dataCodec, string dataExtension, string metaCodec, string metaExtension)
    Parameters
    Type Name Description
    SegmentWriteState state
    System.String dataCodec
    System.String dataExtension
    System.String metaCodec
    System.String metaExtension

    Fields

    | Improve this Doc View Source

    BINARY_FIXED_UNCOMPRESSED

    Uncompressed binary, written directly (fixed length).

    Declaration
    public const int BINARY_FIXED_UNCOMPRESSED = 0
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    BINARY_PREFIX_COMPRESSED

    Compressed binary with shared prefixes

    Declaration
    public const int BINARY_PREFIX_COMPRESSED = 2
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    BINARY_VARIABLE_UNCOMPRESSED

    Uncompressed binary, written directly (variable length).

    Declaration
    public const int BINARY_VARIABLE_UNCOMPRESSED = 1
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    DELTA_COMPRESSED

    Compressed using packed blocks of System.Int32s.

    Declaration
    public const int DELTA_COMPRESSED = 0
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    GCD_COMPRESSED

    Compressed by computing the GCD.

    Declaration
    public const int GCD_COMPRESSED = 1
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    SORTED_SET_SINGLE_VALUED_SORTED

    Single-valued sorted set values, encoded as sorted values, so no level of indirection: docId -> ord.

    Declaration
    public static readonly int SORTED_SET_SINGLE_VALUED_SORTED
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    SORTED_SET_WITH_ADDRESSES

    Standard storage for sorted set values with 1 level of indirection: docId -> address -> ord.

    Declaration
    public static readonly int SORTED_SET_WITH_ADDRESSES
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    TABLE_COMPRESSED

    Compressed by giving IDs to unique values.

    Declaration
    public const int TABLE_COMPRESSED = 2
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    AddBinaryField(FieldInfo, IEnumerable<BytesRef>)

    Declaration
    public override void AddBinaryField(FieldInfo field, IEnumerable<BytesRef> values)
    Parameters
    Type Name Description
    FieldInfo field
    System.Collections.Generic.IEnumerable<BytesRef> values
    Overrides
    DocValuesConsumer.AddBinaryField(FieldInfo, IEnumerable<BytesRef>)
    | Improve this Doc View Source

    AddNumericField(FieldInfo, IEnumerable<Nullable<Int64>>)

    Declaration
    public override void AddNumericField(FieldInfo field, IEnumerable<long?> values)
    Parameters
    Type Name Description
    FieldInfo field
    System.Collections.Generic.IEnumerable<System.Nullable<System.Int64>> values
    Overrides
    DocValuesConsumer.AddNumericField(FieldInfo, IEnumerable<Nullable<Int64>>)
    | Improve this Doc View Source

    AddSortedField(FieldInfo, IEnumerable<BytesRef>, IEnumerable<Nullable<Int64>>)

    Declaration
    public override void AddSortedField(FieldInfo field, IEnumerable<BytesRef> values, IEnumerable<long?> docToOrd)
    Parameters
    Type Name Description
    FieldInfo field
    System.Collections.Generic.IEnumerable<BytesRef> values
    System.Collections.Generic.IEnumerable<System.Nullable<System.Int64>> docToOrd
    Overrides
    DocValuesConsumer.AddSortedField(FieldInfo, IEnumerable<BytesRef>, IEnumerable<Nullable<Int64>>)
    | Improve this Doc View Source

    AddSortedSetField(FieldInfo, IEnumerable<BytesRef>, IEnumerable<Nullable<Int64>>, IEnumerable<Nullable<Int64>>)

    Declaration
    public override void AddSortedSetField(FieldInfo field, IEnumerable<BytesRef> values, IEnumerable<long?> docToOrdCount, IEnumerable<long?> ords)
    Parameters
    Type Name Description
    FieldInfo field
    System.Collections.Generic.IEnumerable<BytesRef> values
    System.Collections.Generic.IEnumerable<System.Nullable<System.Int64>> docToOrdCount
    System.Collections.Generic.IEnumerable<System.Nullable<System.Int64>> ords
    Overrides
    DocValuesConsumer.AddSortedSetField(FieldInfo, IEnumerable<BytesRef>, IEnumerable<Nullable<Int64>>, IEnumerable<Nullable<Int64>>)
    | Improve this Doc View Source

    AddTermsDict(FieldInfo, IEnumerable<BytesRef>)

    Expert: writes a value dictionary for a sorted/sortedset field.

    Declaration
    protected virtual void AddTermsDict(FieldInfo field, IEnumerable<BytesRef> values)
    Parameters
    Type Name Description
    FieldInfo field
    System.Collections.Generic.IEnumerable<BytesRef> values
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    DocValuesConsumer.Dispose(Boolean)

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.