# ElasticSearch C# Nested List Filter Not Working when i compare array using 7.5.1

**URL:** <https://discuss.elastic.co/t/elasticsearch-c-nested-list-filter-not-working-when-i-compare-array-using-7-5-1/246052>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [August 24, 2020, 6:03am UTC](https://discuss.elastic.co/t/elasticsearch-c-nested-list-filter-not-working-when-i-compare-array-using-7-5-1/246052 "2020-08-24T06:03:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kotishwerreddy](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kotishwerreddy](https://discuss.elastic.co/u/kotishwerreddy)\
**Post date:** [August 24, 2020, 6:03am UTC](https://discuss.elastic.co/t/elasticsearch-c-nested-list-filter-not-working-when-i-compare-array-using-7-5-1/246052/1 "2020-08-24T06:03:03Z")

</div>

> Hello Every one,  
> i'm using Elasticsearch 7.5.1 with .Net core 3.1, in that i'm want to search using country filters in the nested object (list detail object), but when i trying to filter i'm unable to filter  
> returning empty please guide me how to filter list object with List of strings
> 
> Note : here i'm attaching screen shot the way i'm failed to get

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/4/c4142231e08330d939362a38f2c75a1a76a2a926.png)

---

<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:** [August 24, 2020, 6:31am UTC](https://discuss.elastic.co/t/elasticsearch-c-nested-list-filter-not-working-when-i-compare-array-using-7-5-1/246052/2 "2020-08-24T06:31:00Z")

</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)

There's a live preview panel to help you.

---

<div class="post-metadata">

**Author:** ![kotishwerreddy](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kotishwerreddy](https://discuss.elastic.co/u/kotishwerreddy)\
**Post date:** [August 24, 2020, 6:45am UTC](https://discuss.elastic.co/t/elasticsearch-c-nested-list-filter-not-working-when-i-compare-array-using-7-5-1/246052/3 "2020-08-24T06:45:25Z")

</div>

> Hello Russ Cam,  
> i'm using Elasticsearch 7.5.1 with .Net core 3.1, in that i'm want to search using country filters in the nested object (list detail object), but when i trying to filter i'm unable to filter  
> returning empty please guide me how to filter list object with List of strings
> 
> Note : here i'm attaching screen shot the way i'm failed to get

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/4/c4142231e08330d939362a38f2c75a1a76a2a926.png)

---

<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:** [August 24, 2020, 6:46am UTC](https://discuss.elastic.co/t/elasticsearch-c-nested-list-filter-not-working-when-i-compare-array-using-7-5-1/246052/4 "2020-08-24T06:46:35Z")

</div>

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with `</>` icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 21, 2020, 6:46am UTC](https://discuss.elastic.co/t/elasticsearch-c-nested-list-filter-not-working-when-i-compare-array-using-7-5-1/246052/5 "2020-09-21T06:46:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
