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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.2
    • Fix Version/s: None
    • Component/s: Facet Module
    • Labels:
      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

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

              Dates

              • Created:
                Updated: