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

facet.limit=0 returns no counts, even if facet.missing=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 8.3
    • faceting
    • None

    Description

      facet.limit constraints the number of term values returned for a field when using facet.field or facet.pivot, but that limit is (suppose) to be independent of facet.missing, which adds an additional count beyond the facet.limit for docs that are "missing" that field.

      This works fine for facet.limit >= 1, but if you use facet.limit=0&facet.missing=true (ie: you are only interested in the missing count) you get no counts at all – not even for the missing count.

      Attachments

        1. SOLR-6328.patch
          19 kB
          Munendra S N
        2. SOLR-6328.patch
          18 kB
          Munendra S N
        3. SOLR-6328.patch
          16 kB
          Munendra S N
        4. SOLR-6328.patch
          16 kB
          Munendra S N
        5. SOLR-6328.patch
          9 kB
          Munendra S N

        Activity

          People

            munendrasn Munendra S N
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: