Class Lucene45DocValuesProducer
Inheritance
Lucene45DocValuesProducer
Assembly: Lucene.Net.dll
Syntax
public class Lucene45DocValuesProducer : DocValuesProducer, IDisposable
Constructors
Lucene45DocValuesProducer(SegmentReadState, string, string, string, string)
Expert: instantiates a new reader.
Declaration
protected Lucene45DocValuesProducer(SegmentReadState state, string dataCodec, string dataExtension, string metaCodec, string metaExtension)
Parameters
Methods
CheckIntegrity()
Checks consistency of this producer.
Note that this may be costly in terms of I/O, e.g.
may involve computing a checksum value against large data files.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
public override void CheckIntegrity()
Overrides
Dispose(bool)
Implementations must override and should dispose all resources used by this instance.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
Overrides
GetAddressInstance(IndexInput, FieldInfo, BinaryEntry)
Returns an address instance for variable-length binary values.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
protected virtual MonotonicBlockPackedReader GetAddressInstance(IndexInput data, FieldInfo field, Lucene45DocValuesProducer.BinaryEntry bytes)
Parameters
Returns
GetBinary(FieldInfo)
Returns BinaryDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
Declaration
public override BinaryDocValues GetBinary(FieldInfo field)
Parameters
Returns
Overrides
GetDocsWithField(FieldInfo)
Returns a IBits at the size of reader.MaxDoc
,
with turned on bits for each docid that does have a value for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
Declaration
public override IBits GetDocsWithField(FieldInfo field)
Parameters
Returns
Overrides
GetIntervalInstance(IndexInput, FieldInfo, BinaryEntry)
Returns an address instance for prefix-compressed binary values.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
protected virtual MonotonicBlockPackedReader GetIntervalInstance(IndexInput data, FieldInfo field, Lucene45DocValuesProducer.BinaryEntry bytes)
Parameters
Returns
GetNumeric(FieldInfo)
Returns NumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
Declaration
public override NumericDocValues GetNumeric(FieldInfo field)
Parameters
Returns
Overrides
GetOrdIndexInstance(IndexInput, FieldInfo, NumericEntry)
Returns an address instance for sortedset ordinal lists.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
protected virtual MonotonicBlockPackedReader GetOrdIndexInstance(IndexInput data, FieldInfo field, Lucene45DocValuesProducer.NumericEntry entry)
Parameters
Returns
GetSorted(FieldInfo)
Returns SortedDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
Declaration
public override SortedDocValues GetSorted(FieldInfo field)
Parameters
Returns
Overrides
GetSortedSet(FieldInfo)
Returns SortedSetDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
Declaration
public override SortedSetDocValues GetSortedSet(FieldInfo field)
Parameters
Returns
Overrides
RamBytesUsed()
Returns approximate RAM bytes used.
Declaration
public override long RamBytesUsed()
Returns
Overrides
Implements