Solr
  1. Solr
  2. SOLR-7473

range facet should support mincount

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Facet Module
    • Labels:
      None

      Description

      Just like field faceting, range faceting should support the "mincount" variable to limit buckets by minimum count.

      Example:

      json.facet={
        prices : {
          type : range,
          field : price,
          mincount : 1,
          start:0, end:100, gap:10
        }
      }
      
      1. SOLR-7473.patch
        5 kB
        Yonik Seeley

        Activity

        Hide
        Yonik Seeley added a comment -

        Here's the patch.

        Show
        Yonik Seeley added a comment - Here's the patch.
        Hide
        ASF subversion and git services added a comment -

        Commit 1676107 from Yonik Seeley in branch 'dev/trunk'
        [ https://svn.apache.org/r1676107 ]

        SOLR-7473: implement facet range mincount

        Show
        ASF subversion and git services added a comment - Commit 1676107 from Yonik Seeley in branch 'dev/trunk' [ https://svn.apache.org/r1676107 ] SOLR-7473 : implement facet range mincount
        Hide
        ASF subversion and git services added a comment -

        Commit 1676108 from Yonik Seeley in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1676108 ]

        SOLR-7473: implement facet range mincount

        Show
        ASF subversion and git services added a comment - Commit 1676108 from Yonik Seeley in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1676108 ] SOLR-7473 : implement facet range mincount

          People

          • Assignee:
            Unassigned
            Reporter:
            Yonik Seeley
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development