# Exists api has no effect on netsed field?

**URL:** <https://discuss.elastic.co/t/exists-api-has-no-effect-on-netsed-field/64849>\
**Category:** Elasticsearch\
**Created:** [November 3, 2016, 11:32am UTC](https://discuss.elastic.co/t/exists-api-has-no-effect-on-netsed-field/64849 "2016-11-03T11:32:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![famoss](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@famoss](https://discuss.elastic.co/u/famoss)\
**Post date:** [November 3, 2016, 11:32am UTC](https://discuss.elastic.co/t/exists-api-has-no-effect-on-netsed-field/64849/1 "2016-11-03T11:32:30Z")

</div>

dsl:

```
 {
    "query": {
        "bool": {
            "filter": [
                {
                    "exists": {
                        "field": "LableToMember"
                    }
                }
            ]
        }
    }
}

```

doc:

```
{
    "LableToMember": [
        {
            "xxx": "xxx",
            "id": "1"
        }
    ],
    "field2":"xxx"
}  

```

`LableToMember` is a nested field and i can't get any doc.`Exists` api has no effect on `netsed` field?

---

<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:** [July 5, 2017, 10:06pm UTC](https://discuss.elastic.co/t/exists-api-has-no-effect-on-netsed-field/64849/2 "2017-07-05T22:06:59Z")

</div>

Closed on July 5, 2017, 10:06pm UTC


