Class MultiValueRangeFacetCounts

java.lang.Object
org.apache.lucene.facet.Facets
org.hibernate.search.backend.lucene.lowlevel.facet.impl.MultiValueRangeFacetCounts
Direct Known Subclasses:
LongMultiValueRangeFacetCounts

public class MultiValueRangeFacetCounts extends org.apache.lucene.facet.Facets

Copied with some changes from org.apache.lucene.facet.range.RangeFacetCounts of Apache Lucene project.

  • Field Details

    • ranges

      protected final org.apache.lucene.facet.range.Range[] ranges
    • counts

      protected final int[] counts
    • fastMatchQuery

      protected final org.apache.lucene.search.Query fastMatchQuery
    • field

      protected final String field
    • totCount

      protected int totCount
  • Constructor Details

    • MultiValueRangeFacetCounts

      protected MultiValueRangeFacetCounts(String field, org.apache.lucene.facet.range.Range[] ranges, org.apache.lucene.search.Query fastMatchQuery)
  • Method Details

    • getAllChildren

      public org.apache.lucene.facet.FacetResult getAllChildren(String dim, String... path)
      Specified by:
      getAllChildren in class org.apache.lucene.facet.Facets
    • getTopChildren

      public org.apache.lucene.facet.FacetResult getTopChildren(int topN, String dim, String... path)
      Specified by:
      getTopChildren in class org.apache.lucene.facet.Facets
    • getSpecificValue

      public Number getSpecificValue(String dim, String... path) throws IOException
      Specified by:
      getSpecificValue in class org.apache.lucene.facet.Facets
      Throws:
      IOException
    • getAllDims

      public List<org.apache.lucene.facet.FacetResult> getAllDims(int topN) throws IOException
      Specified by:
      getAllDims in class org.apache.lucene.facet.Facets
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object