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

StatsComponents should support all SimpleFacetParameters in its facet parameter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 5.0
    • Component/s: None
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: