Solr
  1. Solr
  2. SOLR-3435

StatsComponents should support all SimpleFacetParameters in its facet parameter

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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

        Issue Links

          Activity

          Anshum Gupta made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hoss Man made changes -
          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.


          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



          Hoss Man made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 5.0 [ 12327845 ]
          Resolution Won't Fix [ 2 ]
          Hoss Man made changes -
          Link This issue relates to SOLR-6351 [ SOLR-6351 ]
          Steven Bower made changes -
          Link This issue relates to SOLR-5302 [ SOLR-5302 ]
          Mathias H. made changes -
          Summary StatsComponents facet parameter should support all SimpleFacetParameters StatsComponents should support all SimpleFacetParameters in its facet parameter
          Mathias H. made changes -
          Summary StatsComponent facet parameter should support all SimpleFacetParameters StatsComponents facet parameter should support all SimpleFacetParameters
          Mathias H. made changes -
          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.


          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.


          Mathias H. made changes -
          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.

          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.


          Mathias H. made changes -
          Field Original Value New Value
          Description StatsComponents _stats.facet_ parameter doesn't support SimpleFacetParameters params like _facet.mincount_, _facet.limit_, etc. Moreover it'll always create Field Value Facets and Range Facets aren't possible.

          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.

          Mathias H. created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development