# Storing without Indexing?

**URL:** <https://discuss.elastic.co/t/storing-without-indexing/267795>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [March 19, 2021, 10:23am UTC](https://discuss.elastic.co/t/storing-without-indexing/267795 "2021-03-19T10:23:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philipp\_Loew-Albrech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/philipp_loew-albrech/32/54579_2.png) [@Philipp\_Loew-Albrech](https://discuss.elastic.co/u/Philipp_Loew-Albrech)\
**Post date:** [March 19, 2021, 10:23am UTC](https://discuss.elastic.co/t/storing-without-indexing/267795/1 "2021-03-19T10:23:18Z")

</div>

We would like to have some fields which are only stored (some data is only used for displaying stuff in the frontend and doesn't need to be searched in).

I couldn't find a way in the schema to tell that a field should only be stored.

Is there some workaround ?

---

<div class="post-metadata">

**Author:** ![Felix\_Roessel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felix_roessel/32/41623_2.png) [@Felix\_Roessel](https://discuss.elastic.co/u/Felix_Roessel)\
**Post date:** [March 20, 2021, 9:00am UTC](https://discuss.elastic.co/t/storing-without-indexing/267795/2 "2021-03-20T09:00:40Z")

</div>

I guess what you are looking for is this

> **[index | Elasticsearch Reference \[7.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.11/mapping-index.html)**

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 20, 2021, 10:08am UTC](https://discuss.elastic.co/t/storing-without-indexing/267795/3 "2021-03-20T10:08:24Z")

</div>

But this is not applicable in AppSearch right?

---

<div class="post-metadata">

**Author:** ![Philipp\_Loew-Albrech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/philipp_loew-albrech/32/54579_2.png) [@Philipp\_Loew-Albrech](https://discuss.elastic.co/u/Philipp_Loew-Albrech)\
**Post date:** [March 20, 2021, 11:55am UTC](https://discuss.elastic.co/t/storing-without-indexing/267795/4 "2021-03-20T11:55:37Z")

</div>

I am looking for a solution that works with AppSearch

---

<div class="post-metadata">

**Author:** ![Felix\_Roessel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felix_roessel/32/41623_2.png) [@Felix\_Roessel](https://discuss.elastic.co/u/Felix_Roessel)\
**Post date:** [March 20, 2021, 12:11pm UTC](https://discuss.elastic.co/t/storing-without-indexing/267795/5 "2021-03-20T12:11:07Z")

</div>

Oh sorry.. didn't get that this was an AppSearch question.  
What about the search\_fields Parameter in the query?

> **[Search API search fields | Elastic App Search Documentation \[7.11\] | Elastic](https://www.elastic.co/guide/en/app-search/current/search-fields-weights.html)**

---

<div class="post-metadata">

**Author:** ![Philipp\_Loew-Albrech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/philipp_loew-albrech/32/54579_2.png) [@Philipp\_Loew-Albrech](https://discuss.elastic.co/u/Philipp_Loew-Albrech)\
**Post date:** [March 20, 2021, 2:02pm UTC](https://discuss.elastic.co/t/storing-without-indexing/267795/6 "2021-03-20T14:02:19Z")

</div>

This would still mean that the data gets indexed and with it larger index sizes.  
Additionally I want to receive the data, but I don't want AppSearch to search in it.

I have a huge problem with the index size + performance, which I described here:

> [@Massive Index Size](https://discuss.elastic.co/t/massive-index-size/267885):
>
> Hi there, I have indexed 11 Million Documents to a standard ES-Index ( products\_de-de) and an AppSearch index ( .ent-search-engine-60547892750dd40d0e4018ce) Actually the AppSearch Index is 6 times the size of the normal index, while there is an additional .ent-search-document-backend-60547892750dd40d0e4018ce index with roughly 9GBs of size. This also contributes to enormous load times for a simple search with 1 facet of around 800ms, which also doesn't get cached (fired the s…

---

<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:** [April 17, 2021, 2:02pm UTC](https://discuss.elastic.co/t/storing-without-indexing/267795/7 "2021-04-17T14:02:25Z")

</div>

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