# How to update documents without using the ingest pipeline

**URL:** <https://discuss.elastic.co/t/how-to-update-documents-without-using-the-ingest-pipeline/237766>\
**Category:** Elasticsearch\
**Created:** [June 19, 2020, 8:41am UTC](https://discuss.elastic.co/t/how-to-update-documents-without-using-the-ingest-pipeline/237766 "2020-06-19T08:41:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mabr3](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@mabr3](https://discuss.elastic.co/u/mabr3)\
**Post date:** [June 19, 2020, 8:41am UTC](https://discuss.elastic.co/t/how-to-update-documents-without-using-the-ingest-pipeline/237766/1 "2020-06-19T08:41:46Z")

</div>

Hi!

Pretty much what the title says: I have an index which uses an ingest pipeline to add some fields and do some changes, but when updating the documents (e.g. for testing or to correct something) I don't want that pipeline to be used as it throws some errors since some fields were changed when ingested.

I'm aware that updating involves re-indexing, hence using the pipeline again. I also know I can work around this by adding some if conditions on the ingest script, but I would prefer not to if possible - for the sake of clarity and tidiness.

---

<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:** [June 19, 2020, 12:53pm UTC](https://discuss.elastic.co/t/how-to-update-documents-without-using-the-ingest-pipeline/237766/2 "2020-06-19T12:53:17Z")

</div>

The ingest pipeline is only called if you explicitly ask for it. The reindex api for example does not call any pipeline unless you ask for it.

---

<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 17, 2020, 12:53pm UTC](https://discuss.elastic.co/t/how-to-update-documents-without-using-the-ingest-pipeline/237766/3 "2020-07-17T12:53:34Z")

</div>

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