Class DefaultSortedSetDocValuesReaderState
Default implementation of SortedSetDocValuesFacetCounts
Inherited Members
Namespace: Lucene.Net.Facet.SortedSet
Assembly: Lucene.Net.Facet.dll
Syntax
public class DefaultSortedSetDocValuesReaderState : SortedSetDocValuesReaderState
Constructors
DefaultSortedSetDocValuesReaderState(IndexReader, string)
Creates this, pulling doc values from the specified field.
Declaration
public DefaultSortedSetDocValuesReaderState(IndexReader reader, string field = "$facets")
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader | |
string | field |
Properties
Count
Number of unique labels.
Declaration
public override int Count { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Field
Indexed field we are reading.
Declaration
public override string Field { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OrigReader
Returns top-level index reader.
Declaration
public override IndexReader OrigReader { get; }
Property Value
Type | Description |
---|---|
IndexReader |
Overrides
PrefixToOrdRange
Returns mapping from prefix to SortedSetDocValuesReaderState.OrdRange.
Declaration
public override IDictionary<string, SortedSetDocValuesReaderState.OrdRange> PrefixToOrdRange { get; }
Property Value
Type | Description |
---|---|
IDictionary<string, SortedSetDocValuesReaderState.OrdRange> |
Overrides
Methods
GetDocValues()
Return top-level doc values.
Declaration
public override SortedSetDocValues GetDocValues()
Returns
Type | Description |
---|---|
SortedSetDocValues |
Overrides
GetOrdRange(string)
Returns the SortedSetDocValuesReaderState.OrdRange for this dimension.
Declaration
public override SortedSetDocValuesReaderState.OrdRange GetOrdRange(string dim)
Parameters
Type | Name | Description |
---|---|---|
string | dim |
Returns
Type | Description |
---|---|
SortedSetDocValuesReaderState.OrdRange |