# How to change ElasticSearch response to Nested Values

**URL:** <https://discuss.elastic.co/t/how-to-change-elasticsearch-response-to-nested-values/199633>\
**Category:** Elasticsearch\
**Created:** [September 16, 2019, 10:33am UTC](https://discuss.elastic.co/t/how-to-change-elasticsearch-response-to-nested-values/199633 "2019-09-16T10:33:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![May](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@May](https://discuss.elastic.co/u/May)\
**Post date:** [September 16, 2019, 10:33am UTC](https://discuss.elastic.co/t/how-to-change-elasticsearch-response-to-nested-values/199633/1 "2019-09-16T10:33:33Z")

</div>

Hi there, I am using ES as the backend data warehouse for my web app. I want to have a dropdown list that updated based on what is previously selected like this : [http://benalexkeen.com/auto-updating-dropdown-fields-in-javascript/](http://benalexkeen.com/auto-updating-dropdown-fields-in-javascript/). The problem I have is how to pass ES response into nested values like in the link. I am using Python Django with elasticsearch\_dsl.

---

<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:** [October 14, 2019, 10:33am UTC](https://discuss.elastic.co/t/how-to-change-elasticsearch-response-to-nested-values/199633/2 "2019-10-14T10:33:39Z")

</div>

Closed on October 14, 2019, 10:33am UTC

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