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

'Missing' count lost when convert facetResponse.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.8
    • Fix Version/s: None
    • Component/s: SolrJ
    • Labels:
      None

      Description

      Hi Solr Team,

      We use the JsonFacet query to get the facet data.

      We pass the 'Missing' option in our code.

      // set missing option to true.
      termsFacetMap.includeMissingBucket(true);
      

      Then we could see the 'Missing' count in the result, but when SolrJ processing the response, when handling the 'Missing' count data, the logic always goes to the 'else' logic. (Could check the attached image).

      So could you please help to fix the issue?

      Thanks a lot.

      Robin

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Robin_0695 Robin Li
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: