Class TextMultiValueFacetCounts


  • public class TextMultiValueFacetCounts
    extends org.apache.lucene.facet.Facets
    Copied with some changes from org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts of Apache Lucene project.
    • Constructor Detail

      • TextMultiValueFacetCounts

        public TextMultiValueFacetCounts​(org.apache.lucene.index.IndexReader reader,
                                         String field,
                                         TextMultiValuesSource valuesSource,
                                         org.apache.lucene.facet.FacetsCollector hits)
                                  throws IOException
        Throws:
        IOException
    • Method Detail

      • getTopChildren

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

        public Number getSpecificValue​(String dim,
                                       String... path)
        Specified by:
        getSpecificValue in class org.apache.lucene.facet.Facets
      • 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