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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: faceting
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: