# Filter array of nested object on App Search

**URL:** <https://discuss.elastic.co/t/filter-array-of-nested-object-on-app-search/352013>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [January 29, 2024, 3:23pm UTC](https://discuss.elastic.co/t/filter-array-of-nested-object-on-app-search/352013 "2024-01-29T15:23:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rustin\_Spencer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rustin_spencer/32/103495_2.png) [@Rustin\_Spencer](https://discuss.elastic.co/u/Rustin_Spencer)\
**Post date:** [January 29, 2024, 3:23pm UTC](https://discuss.elastic.co/t/filter-array-of-nested-object-on-app-search/352013/1 "2024-01-29T15:23:12Z")

</div>

I have a data structure where certain fields are nested objects. For example, in my 'events' engine, the 'event\_permission' field is an array of objects, with each object containing a 'user\_id'.

I'm using @elastic/enterprise-search for nodejs. How can I filter by user\_id in the event\_permission array without denormalizitng the data?

---

<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:** [February 26, 2024, 3:23pm UTC](https://discuss.elastic.co/t/filter-array-of-nested-object-on-app-search/352013/2 "2024-02-26T15:23:13Z")

</div>

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