# Ingest pipeline for App Search document indexing

**URL:** <https://discuss.elastic.co/t/ingest-pipeline-for-app-search-document-indexing/310337>\
**Category:** Elastic Search\
**Tags:** ingest-pipeline\
**Created:** [July 21, 2022, 8:41pm UTC](https://discuss.elastic.co/t/ingest-pipeline-for-app-search-document-indexing/310337 "2022-07-21T20:41:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottroot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scottroot/32/97607_2.png) [@scottroot](https://discuss.elastic.co/u/scottroot)\
**Post date:** [July 21, 2022, 8:41pm UTC](https://discuss.elastic.co/t/ingest-pipeline-for-app-search-document-indexing/310337/1 "2022-07-21T20:41:04Z")

</div>

I am using Elastic Cloud Enterprise Search/App Search and indexing json documents via the App Search api. I am not able to get Ingest Pipelines working though.

API endpoint I'm using to index (replaced project/engine names):  
'[https://myproject.ent.us-central.gcp.cloud.es.io/api/as/v1/engines/myengine/documents](https://myproject.ent.us-central.gcp.cloud.es.io/api/as/v1/engines/myengine/documents)'

I have read this topic about custom logs but it doesn't seem to apply when using App Search: [Custom Logs Ingest Pipeline - #6 by Doommius](https://discuss.elastic.co/t/custom-logs-ingest-pipeline/294409/6)

I created a pipeline, tested it and it works. In the index settings (.ent-search-engine-documents-myengine) I tried setting `index.default_pipeline` and "index.final\_pipeline": to "logs-myengine-default" but neither resulted in any difference.

Is there any documentation on using Ingest Pipelines with App Search?  
Thanks in adavance

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [July 22, 2022, 1:54pm UTC](https://discuss.elastic.co/t/ingest-pipeline-for-app-search-document-indexing/310337/2 "2022-07-22T13:54:18Z")

</div>

Hi @scottroot,

In versions \<= 8.2, App Search makes no use of Ingest Pipelines, and it is heavily discouraged to modify indices and their mappings/settings managed by App Search, or you will risk breaking your ability to migrate/upgrade your deployment.

In 8.3, App Search uses a single ingest pipeline, only for App Search Web Crawler engines, and only for documents that are binary (non-html) in nature. See: [Web crawler reference | Elastic App Search Documentation [8.3] | Elastic](https://www.elastic.co/guide/en/app-search/current/web-crawler-reference.html#web-crawler-reference-binary-content-extraction)

In future versions we hope to make this easier and to expand our usages of ingest pipelines in App Search.

In the mean time, you may want to consider using a pure Elasticsearch Index + Ingest Pipeline, and then point App Search to that Elasticsearch Index. See: [Elasticsearch index engines (technical preview) | Elastic App Search Documentation [8.3] | Elastic](https://www.elastic.co/guide/en/app-search/current/elasticsearch-engines.html)

---

<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:** [August 19, 2022, 2:46pm UTC](https://discuss.elastic.co/t/ingest-pipeline-for-app-search-document-indexing/310337/4 "2022-08-19T14:46:27Z")

</div>

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