Show / Hide Table of Contents

    Class Lucene45DocValuesConsumer

    Writer for Lucene45DocValuesFormat

    Inheritance
    System.Object
    DocValuesConsumer
    Lucene45DocValuesConsumer
    Implements
    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()
    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 = null
    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 = null
    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 = null
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    DELTA_COMPRESSED

    Compressed using packed blocks of s.

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

    GCD_COMPRESSED

    Compressed by computing the GCD.

    Declaration
    public const int GCD_COMPRESSED = null
    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 = null
    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
    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
    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
    IEnumerable<BytesRef> values
    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
    IEnumerable<BytesRef> values
    IEnumerable<System.Nullable<System.Int64>> docToOrdCount
    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
    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

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