Show / Hide Table of Contents

    Class RangeFacetCounts

    Base class for range faceting.

    @lucene.experimental

    Inheritance
    System.Object
    Facets
    RangeFacetCounts
    DoubleRangeFacetCounts
    Int64RangeFacetCounts
    Namespace: Lucene.Net.Facet.Range
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public abstract class RangeFacetCounts : Facets

    Constructors

    | Improve this Doc View Source

    RangeFacetCounts(String, Range[], Search.Filter)

    Create RangeFacetCounts

    Declaration
    protected RangeFacetCounts(string field, Range[] ranges, Search.Filter fastMatchFilter)
    Parameters
    Type Name Description
    System.String field
    Range[] ranges
    Search.Filter fastMatchFilter

    Fields

    | Improve this Doc View Source

    m_counts

    Counts, initialized in by subclass.

    Declaration
    protected readonly int[] m_counts
    Field Value
    Type Description
    System.Int32[]
    | Improve this Doc View Source

    m_fastMatchFilter

    Optional: if specified, we first test this Filter to see whether the document should be checked for matching ranges. If this is null, all documents are checked.

    Declaration
    protected readonly Search.Filter m_fastMatchFilter
    Field Value
    Type Description
    Search.Filter
    | Improve this Doc View Source

    m_field

    Our field name.

    Declaration
    protected readonly string m_field
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    m_ranges

    Ranges passed to constructor.

    Declaration
    protected readonly Range[] m_ranges
    Field Value
    Type Description
    Range[]
    | Improve this Doc View Source

    m_totCount

    Total number of hits.

    Declaration
    protected int m_totCount
    Field Value
    Type Description
    System.Int32

    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)