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

Numeric terms facet yields redundant "0.0" buckets when mincount and sort specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 5.2
    • None
    • Facet Module
    • None

    Description

      This query:

      http://localhost:8983/solr/techproducts/select?q=*:*&json={"facet":{"price":

      {"type":"terms","field":"price","sort":"index asc","mincount":0}

      }}&wt=json

      Yields results where every bucket has value "0.0" and count "0". Dropping either the "mincount" parameter or "sort" parameter fixes it.

      This is using nightly build 5.3.0-2015-05-29_12-15-41 1682437 - jenkins - 2015-05-29 08:22:15. Apologies if this has been fixed since.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lawremi Michael Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: