Show / Hide Table of Contents

    Class MultiFacets

    Maps specified dims to provided Facets impls; else, uses the default Facets impl.

    Inheritance
    System.Object
    Facets
    MultiFacets
    Namespace: Lucene.Net.Facet
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public class MultiFacets : Facets

    Constructors

    | Improve this Doc View Source

    MultiFacets(IDictionary<String, Facets>, Facets)

    Create this, with the specified default Facets for fields not included in dimToFacets.

    Declaration
    public MultiFacets(IDictionary<string, Facets> dimToFacets, Facets defaultFacets = null)
    Parameters
    Type Name Description
    IDictionary<System.String, Facets> dimToFacets
    Facets defaultFacets

    Methods

    | Improve this Doc View Source

    GetAllDims(Int32)

    Declaration
    public override IList<FacetResult> GetAllDims(int topN)
    Parameters
    Type Name Description
    System.Int32 topN
    Returns
    Type Description
    IList<FacetResult>
    Overrides
    Facets.GetAllDims(Int32)
    | 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
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)