Class SingleTaxonomyFacets
Base class for all taxonomy-based facets that aggregate to a per-ords float[].
NOTE: This was FloatTaxonomyFacets in Lucene
Inheritance
System.Object
SingleTaxonomyFacets
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.Taxonomy
Assembly: Lucene.Net.Facet.dll
Syntax
public abstract class SingleTaxonomyFacets : TaxonomyFacets
Constructors
| Improve this Doc View SourceSingleTaxonomyFacets(String, TaxonomyReader, FacetsConfig)
Sole constructor.
Declaration
protected SingleTaxonomyFacets(string indexFieldName, TaxonomyReader taxoReader, FacetsConfig config)
Parameters
Type | Name | Description |
---|---|---|
System.String | indexFieldName | |
TaxonomyReader | taxoReader | |
FacetsConfig | config |
Fields
| Improve this Doc View Sourcem_values
Per-ordinal value.
Declaration
protected readonly float[] m_values
Field Value
Type | Description |
---|---|
System.Single[] |
Methods
| Improve this Doc View SourceGetSpecificValue(String, String[])
Declaration
public override float GetSpecificValue(string dim, params string[] path)
Parameters
Type | Name | Description |
---|---|---|
System.String | dim | |
System.String[] | path |
Returns
Type | Description |
---|---|
System.Single |
Overrides
| Improve this Doc View SourceGetTopChildren(Int32, String, String[])
Declaration
public override FacetResult GetTopChildren(int topN, string dim, params string[] path)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | topN | |
System.String | dim | |
System.String[] | path |
Returns
Type | Description |
---|---|
FacetResult |
Overrides
| Improve this Doc View SourceRollup()
Rolls up any single-valued hierarchical dimensions.
Declaration
protected virtual void Rollup()