Class Lucene45DocValuesConsumer
Writer for Lucene45DocValuesFormat
Implements
System.IDisposable
Inherited Members
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 SourceLucene45DocValuesConsumer(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 SourceBINARY_FIXED_UNCOMPRESSED
Uncompressed binary, written directly (fixed length).
Declaration
public const int BINARY_FIXED_UNCOMPRESSED = 0
Field Value
Type | Description |
---|---|
System.Int32 |
BINARY_PREFIX_COMPRESSED
Compressed binary with shared prefixes
Declaration
public const int BINARY_PREFIX_COMPRESSED = 2
Field Value
Type | Description |
---|---|
System.Int32 |
BINARY_VARIABLE_UNCOMPRESSED
Uncompressed binary, written directly (variable length).
Declaration
public const int BINARY_VARIABLE_UNCOMPRESSED = 1
Field Value
Type | Description |
---|---|
System.Int32 |
DELTA_COMPRESSED
Compressed using packed blocks of System.Int32s.
Declaration
public const int DELTA_COMPRESSED = 0
Field Value
Type | Description |
---|---|
System.Int32 |
GCD_COMPRESSED
Compressed by computing the GCD.
Declaration
public const int GCD_COMPRESSED = 1
Field Value
Type | Description |
---|---|
System.Int32 |
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 |
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 |
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 SourceAddBinaryField(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
| Improve this Doc View SourceAddNumericField(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
| Improve this Doc View SourceAddSortedField(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
| Improve this Doc View SourceAddSortedSetField(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
| Improve this Doc View SourceAddTermsDict(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 |
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
Implements
System.IDisposable