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

'Missing' count lost when convert facetResponse.

    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

          People

            Unassigned Unassigned
            Robin_0695 Robin Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: