Class Int32TaxonomyFacets
Base class for all taxonomy-based facets that aggregate to a per-ords int[].
NOTE: This was IntTaxonomyFacets in Lucene
Inheritance
System.Object
Int32TaxonomyFacets
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 Int32TaxonomyFacets : TaxonomyFacets
Constructors
| Improve this Doc View SourceInt32TaxonomyFacets(String, TaxonomyReader, FacetsConfig)
Sole constructor.
Declaration
protected Int32TaxonomyFacets(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 int[] m_values
Field Value
Type | Description |
---|---|
System.Int32[] |
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()