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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 8.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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-query2
          3 kB
          Jochen Barth
        2. solr-query1
          3 kB
          Jochen Barth

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: