# There are some problems in my NEST Client search, can you help me solve it?

**URL:** <https://discuss.elastic.co/t/there-are-some-problems-in-my-nest-client-search-can-you-help-me-solve-it/240129>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [July 7, 2020, 9:12am UTC](https://discuss.elastic.co/t/there-are-some-problems-in-my-nest-client-search-can-you-help-me-solve-it/240129 "2020-07-07T09:12:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [July 13, 2020, 7:15am UTC](https://discuss.elastic.co/t/there-are-some-problems-in-my-nest-client-search-can-you-help-me-solve-it/240129/2 "2020-07-13T07:15:46Z")

</div>

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

This is the icon to use if you are not using markdown format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

* * *

It looks like `.Query(...)` is being called multiple times. This call is assignative and not additive, so the last call assigns and replaces any previous assignments. To combine queries into a compound `bool` query, take a look at the [writing queries](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/writing-queries.html#combining-queries) and [writing bool queries](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/bool-queries.html) documentation.

---

_[View the full topic](https://discuss.elastic.co/t/there-are-some-problems-in-my-nest-client-search-can-you-help-me-solve-it/240129)._
