# Query\_string not match with Should Condions

**URL:** <https://discuss.elastic.co/t/query-string-not-match-with-should-condions/281038>\
**Category:** Elasticsearch\
**Created:** [August 11, 2021, 10:42am UTC](https://discuss.elastic.co/t/query-string-not-match-with-should-condions/281038 "2021-08-11T10:42:05Z")\
**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:** [August 11, 2021, 11:00am UTC](https://discuss.elastic.co/t/query-string-not-match-with-should-condions/281038/2 "2021-08-11T11:00:43Z")

</div>

`should` clauses are just optional extras when paired with `must` clauses. They add to the score.

If you need true OR logic you need `bool` query with only a `should` section. Your query in pseudocode would be:

```
 bool
     should 
            type : faq
            type : normativeDoc
            bool
                   must
                        type : Document
                        profile_id_document : X
```

---

_[View the full topic](https://discuss.elastic.co/t/query-string-not-match-with-should-condions/281038)._
