Same config and different result with Muti_match query


(Mohammed Essabri) #1

Dear team,

We have in 2 environments, the same Elasticsearch version, the same java code using elasticsearch client, and the same data, settings and mappings ( we copied indices using Elasticsearch Snapshot And Restore

But the following request is giving result in one environment and not in the other:

curl -XGET 'http://localhost:9200/_search?pretty' -d'{
  "from" : 0,
  "size" : 6,
  "query" : {
    "filtered" : {
      "query" : {
        "bool" : {
          "must" : [ {
            "bool" : {
              "must" : {
                "multi_match" : {
                  "query" : "EN",
                  "fields" : [ "proceedingslanguage_*", "proceedingslanguage_en^5.0" ],
                  "type" : "best_fields"
                }
              }
            }
          } ]
        }
      },
      "filter" : {
        "type" : {
          "value" : "decision"
        }
      }
    }
  }
}'

This issue was described otherwise in Multi_match query issue

Please give us some help.

Thank you in advance!


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.