Multiple values match query in Update by query

Hi @sarvendras ,

you should be able to use a bool query like:

"query": {
  "bool" : {
    "must" : [{
      "match": {
        "RRN" : 3201
      },
      "match": {
        "RRN" : 1209
      }
    }]
  }
}

giving you AND semantics between the two values. You can replace must with should to get OR semantics.

2 Likes