Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3435

StatsComponents should support all SimpleFacetParameters in its facet parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 4.0-ALPHA
    • 5.0
    • None

    Description

      StatsComponents stats.facet parameter doesn't support SimpleFacetParameters params like facet.mincount, facet.limit, etc. Moreover it'll always create Field Value Facets. Range Facets aren't possible.

      Very useful to calculate the sum of a field for each month/day/etc (using range facets) or to limit the results with facet.limit.

      New users interested in mixing stats & facets are encouraged to ignore the stats.facet param and instead combine
      stats.field with facet.pivot to achieve similar results more efficiently...

      https://cwiki.apache.org/confluence/display/solr/The+Stats+Component#TheStatsComponent-TheStatsComponentandFaceting

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              markschoy Mathias H.
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: