Class DefaultSortedSetDocValuesReaderState
Default implementation of SortedSetDocValuesFacetCounts
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.Facet.SortedSet
Assembly: Lucene.Net.Facet.dll
Syntax
public class DefaultSortedSetDocValuesReaderState : SortedSetDocValuesReaderState
Constructors
| Improve this Doc View SourceDefaultSortedSetDocValuesReaderState(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 | |
System.String | field |
Properties
| Improve this Doc View SourceCount
Number of unique labels.
Declaration
public override int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceField
Indexed field we are reading.
Declaration
public override string Field { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceOrigReader
Declaration
public override IndexReader OrigReader { get; }
Property Value
Type | Description |
---|---|
IndexReader |
Overrides
| Improve this Doc View SourcePrefixToOrdRange
Returns mapping from prefix to SortedSetDocValuesReaderState.OrdRange.
Declaration
public override IDictionary<string, SortedSetDocValuesReaderState.OrdRange> PrefixToOrdRange { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, SortedSetDocValuesReaderState.OrdRange> |
Overrides
Methods
| Improve this Doc View SourceGetDocValues()
Return top-level doc values.
Declaration
public override SortedSetDocValues GetDocValues()
Returns
Type | Description |
---|---|
SortedSetDocValues |
Overrides
| Improve this Doc View SourceGetOrdRange(String)
Returns the SortedSetDocValuesReaderState.OrdRange for this dimension.
Declaration
public override SortedSetDocValuesReaderState.OrdRange GetOrdRange(string dim)
Parameters
Type | Name | Description |
---|---|---|
System.String | dim |
Returns
Type | Description |
---|---|
SortedSetDocValuesReaderState.OrdRange |