Show / Hide Table of Contents

    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
    Facets
    TaxonomyFacets
    SingleTaxonomyFacets
    TaxonomyFacetSumSingleAssociations
    TaxonomyFacetSumValueSource
    Inherited Members
    TaxonomyFacets.m_indexFieldName
    TaxonomyFacets.m_taxoReader
    TaxonomyFacets.m_config
    TaxonomyFacets.m_children
    TaxonomyFacets.m_siblings
    TaxonomyFacets.VerifyDim(String)
    TaxonomyFacets.GetAllDims(Int32)
    Namespace: Lucene.Net.Facet.Taxonomy
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public abstract class SingleTaxonomyFacets : TaxonomyFacets

    Constructors

    | Improve this Doc View Source

    SingleTaxonomyFacets(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 Source

    m_values

    Per-ordinal value.

    Declaration
    protected readonly float[] m_values
    Field Value
    Type Description
    System.Single[]

    Methods

    | Improve this Doc View Source

    GetSpecificValue(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
    Facets.GetSpecificValue(String, String[])
    | Improve this Doc View Source

    GetTopChildren(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
    Facets.GetTopChildren(Int32, String, String[])
    | Improve this Doc View Source

    Rollup()

    Rolls up any single-valued hierarchical dimensions.

    Declaration
    protected virtual void Rollup()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)