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

json dsl: order of must and must_not in serialization does matter?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 8.0
    • None
    • None
    • None

    Description

      I have one(1) data structure representing a json dsl query, but depending on the serialization (must_not before/after must within

      {"query":{"bool":{ ... }}}
      

      ) this does return errnously 0 as numFound.

      Has the serialization to be "canonical" (keys of hashes sorted?)

      Thanks!

      Attachments

        1. solr-query1
          3 kB
          Jochen Barth
        2. solr-query2
          3 kB
          Jochen Barth

        Activity

          People

            Unassigned Unassigned
            jbarth_ubhd Jochen Barth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: