# App Search - How to add "multi field", a field with array of values (like color)

**URL:** <https://discuss.elastic.co/t/app-search-how-to-add-multi-field-a-field-with-array-of-values-like-color/307443>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [June 16, 2022, 7:19pm UTC](https://discuss.elastic.co/t/app-search-how-to-add-multi-field-a-field-with-array-of-values-like-color/307443 "2022-06-16T19:19:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliezra236](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eliezra236/32/78034_2.png) [@eliezra236](https://discuss.elastic.co/u/eliezra236)\
**Post date:** [June 16, 2022, 7:19pm UTC](https://discuss.elastic.co/t/app-search-how-to-add-multi-field-a-field-with-array-of-values-like-color/307443/1 "2022-06-16T19:19:29Z")

</div>

Hi everyone,  
I am trying to use App Search, and when I index a document that looks like:

```auto
name: 'metalica t-shirt'
colors: ['red', 'black']

```

The engine removes 'black' and leaves it as:

```auto
name: 'metalica t-shirt'
colors: 'red'

```

But I want it to appear both under 'red' color and 'black' color filter on Search UI, is it supported?

---

<div class="post-metadata">

**Author:** ![Vadim\_Yakhin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vadim_yakhin/32/56723_2.png) [@Vadim\_Yakhin](https://discuss.elastic.co/u/Vadim_Yakhin)\
**Post date:** [June 21, 2022, 7:23pm UTC](https://discuss.elastic.co/t/app-search-how-to-add-multi-field-a-field-with-array-of-values-like-color/307443/2 "2022-06-21T19:23:50Z")

</div>

Hey Eli!

First, let's make sure the document is indexed correctly. Could you check in App Search documents page `/app/enterprise_search/app_search/engines/[ENGINE_NAME]/documents`, if the colors value shows both colors or just one?

---

<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 19, 2022, 7:24pm UTC](https://discuss.elastic.co/t/app-search-how-to-add-multi-field-a-field-with-array-of-values-like-color/307443/3 "2022-07-19T19:24:03Z")

</div>

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