Class Lucene45DocValuesConsumer
Writer for Lucene45Doc
Implements
IDisposable
Inherited Members
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 |
---|---|---|
Segment |
state | |
System. |
dataCodec | |
System. |
dataExtension | |
System. |
metaCodec | |
System. |
metaExtension |
Fields
| Improve this Doc View SourceBINARY_FIXED_UNCOMPRESSED
Uncompressed binary, written directly (fixed length).
Declaration
public const int BINARY_FIXED_UNCOMPRESSED = null
Field Value
Type | Description |
---|---|
System. |
BINARY_PREFIX_COMPRESSED
Compressed binary with shared prefixes
Declaration
public const int BINARY_PREFIX_COMPRESSED = null
Field Value
Type | Description |
---|---|
System. |
BINARY_VARIABLE_UNCOMPRESSED
Uncompressed binary, written directly (variable length).
Declaration
public const int BINARY_VARIABLE_UNCOMPRESSED = null
Field Value
Type | Description |
---|---|
System. |
DELTA_COMPRESSED
Compressed using packed blocks of
Declaration
public const int DELTA_COMPRESSED = null
Field Value
Type | Description |
---|---|
System. |
GCD_COMPRESSED
Compressed by computing the GCD.
Declaration
public const int GCD_COMPRESSED = null
Field Value
Type | Description |
---|---|
System. |
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. |
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. |
TABLE_COMPRESSED
Compressed by giving IDs to unique values.
Declaration
public const int TABLE_COMPRESSED = null
Field Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceAddBinaryField(FieldInfo, IEnumerable<BytesRef>)
Declaration
public override void AddBinaryField(FieldInfo field, IEnumerable<BytesRef> values)
Parameters
Overrides
| Improve this Doc View SourceAddNumericField(FieldInfo, IEnumerable<Nullable<Int64>>)
Declaration
public override void AddNumericField(FieldInfo field, IEnumerable<long?> values)
Parameters
Type | Name | Description |
---|---|---|
Field |
field | |
IEnumerable<System. |
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 |
---|---|---|
Field |
field | |
IEnumerable<Bytes |
values | |
IEnumerable<System. |
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 |
---|---|---|
Field |
field | |
IEnumerable<Bytes |
values | |
IEnumerable<System. |
docToOrdCount | |
IEnumerable<System. |
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
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System. |
disposing |
Overrides
Implements
IDisposable