# How does the \`default\_operator\` of QueryString really work with \`multi field\` in ES 6.1? Does it change the \`OR clause\` between the fields?

**URL:** <https://discuss.elastic.co/t/how-does-the-default-operator-of-querystring-really-work-with-multi-field-in-es-6-1-does-it-change-the-or-clause-between-the-fields/113560>\
**Category:** Elasticsearch\
**Created:** [December 29, 2017, 9:41am UTC](https://discuss.elastic.co/t/how-does-the-default-operator-of-querystring-really-work-with-multi-field-in-es-6-1-does-it-change-the-or-clause-between-the-fields/113560 "2017-12-29T09:41:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 29, 2017, 10:02am UTC](https://discuss.elastic.co/t/how-does-the-default-operator-of-querystring-really-work-with-multi-field-in-es-6-1-does-it-change-the-or-clause-between-the-fields/113560/2 "2017-12-29T10:02:05Z")

</div>

Please don't post the same thing more than once 🙂

> [@Has\`default\_operator\` of QueryString changed algorithm with \`multi field\` from ES2.3 to ES6.1?](https://discuss.elastic.co/t/has-default-operator-of-querystring-changed-algorithm-with-multi-field-from-es2-3-to-es6-1/113564):
>
> Hello, I'm updating my project from ES 2.3 to ES 6.1. I feel confused about the algorithm of QueryString with default\_operator and fields. My purpose is to search in the fields city.name and zipcode.raw with one query like New York 10001. But with the same query, the result is different between 2.3 and 6.1. So I used \_validate API to debug. Here's my debug in ES 2.3: GET /myindex/\_validate/query?explain&pretty' -d' { "query": { "bool": { "must": [{ "query\_string": { "query": "N…

---

_[View the full topic](https://discuss.elastic.co/t/how-does-the-default-operator-of-querystring-really-work-with-multi-field-in-es-6-1-does-it-change-the-or-clause-between-the-fields/113560)._
