Class DocValuesOrdinalsReader
Decodes ordinals previously indexed into a Lucene.Net.Index.BinaryDocValues field
Inherited Members
Namespace: Lucene.Net.Facet.Taxonomy
Assembly: Lucene.Net.Facet.dll
Syntax
public class DocValuesOrdinalsReader : OrdinalsReader
Constructors
DocValuesOrdinalsReader()
Default constructor.
Declaration
public DocValuesOrdinalsReader()
DocValuesOrdinalsReader(string)
Create this, with the specified indexed field name.
Declaration
public DocValuesOrdinalsReader(string field)
Parameters
Type | Name | Description |
---|---|---|
string | field |
Properties
IndexFieldName
Returns the indexed field name this OrdinalsReader is reading from.
Declaration
public override string IndexFieldName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Decode(BytesRef, Int32sRef)
Subclass & override if you change the encoding.
Declaration
protected virtual void Decode(BytesRef buf, Int32sRef ordinals)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | buf | |
Int32sRef | ordinals |
GetReader(AtomicReaderContext)
Set current atomic reader.
Declaration
public override OrdinalsReader.OrdinalsSegmentReader GetReader(AtomicReaderContext context)
Parameters
Type | Name | Description |
---|---|---|
AtomicReaderContext | context |
Returns
Type | Description |
---|---|
OrdinalsReader.OrdinalsSegmentReader |