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

'Missing' count lost when convert facetResponse.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.8
    • None
    • SolrJ
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            Robin_0695 Robin Li

            Dates

              Created:
              Updated:

              Slack

                Issue deployment