# Query\_string query operator precedence

**URL:** <https://discuss.elastic.co/t/query-string-query-operator-precedence/297183>\
**Category:** Elasticsearch\
**Tags:** eql-elastic-query-language\
**Created:** [February 14, 2022, 7:25pm UTC](https://discuss.elastic.co/t/query-string-query-operator-precedence/297183 "2022-02-14T19:25:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [February 14, 2022, 10:14pm UTC](https://discuss.elastic.co/t/query-string-query-operator-precedence/297183/2 "2022-02-14T22:14:07Z")

</div>

Lucene’s query\_string syntax does some [weird things](https://discuss.elastic.co/t/why-query-string-doesnt-honor-the-usual-precedence-rules/248779/3) beyond the usual expectations for and/or behaviour

---

_[View the full topic](https://discuss.elastic.co/t/query-string-query-operator-precedence/297183)._
