# Enrich processor

**URL:** <https://discuss.elastic.co/t/enrich-processor/252987>\
**Category:** Elasticsearch\
**Created:** [October 22, 2020, 10:57am UTC](https://discuss.elastic.co/t/enrich-processor/252987 "2020-10-22T10:57:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![liorg2](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@liorg2](https://discuss.elastic.co/u/liorg2)\
**Post date:** [October 22, 2020, 10:57am UTC](https://discuss.elastic.co/t/enrich-processor/252987/1 "2020-10-22T10:57:31Z")

</div>

Hello

Is it possible to use the enrich processor, with documents from the same index?

In addition, when running  
`POST /_enrich/policy/my-enrich-test-policy/_execute`

it creates an index (.enrich....) with all the value of enrich\_fields , but what about future values?

thanks

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 22, 2020, 2:46pm UTC](https://discuss.elastic.co/t/enrich-processor/252987/2 "2020-10-22T14:46:49Z")

</div>

See [https://www.elastic.co/guide/en/elasticsearch/reference/7.9/ingest-enriching-data.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/ingest-enriching-data.html)

the enrich execute action will always create a special index. If you update the source index you need to rerun the `_execute` call. There is no automatic sync mechanism

---

<div class="post-metadata">

**Author:** ![liorg2](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@liorg2](https://discuss.elastic.co/u/liorg2)\
**Post date:** [October 22, 2020, 5:17pm UTC](https://discuss.elastic.co/t/enrich-processor/252987/3 "2020-10-22T17:17:36Z")

</div>

thanks @spinscale

so it's more for static data (source index of the policy)

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 26, 2020, 8:55am UTC](https://discuss.elastic.co/t/enrich-processor/252987/4 "2020-10-26T08:55:15Z")

</div>

You can update this anytime, so just rerunning the index creation (and cleaning up the old indices) would work... as you said however, this is not fully realtime.

---

<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:** [November 23, 2020, 8:55am UTC](https://discuss.elastic.co/t/enrich-processor/252987/5 "2020-11-23T08:55:25Z")

</div>

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