# Ingestion attachment processor plugin

**URL:** <https://discuss.elastic.co/t/ingestion-attachment-processor-plugin/160585>\
**Category:** Elasticsearch\
**Created:** [December 12, 2018, 4:49pm UTC](https://discuss.elastic.co/t/ingestion-attachment-processor-plugin/160585 "2018-12-12T16:49:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zamir\_Arif](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zamir_arif/32/31894_2.png) [@Zamir\_Arif](https://discuss.elastic.co/u/Zamir_Arif)\
**Post date:** [December 12, 2018, 4:49pm UTC](https://discuss.elastic.co/t/ingestion-attachment-processor-plugin/160585/1 "2018-12-12T16:49:56Z")

</div>

I have been spending sometime with Elastic search Ingest Attachment Processor Plugin.

Here is my data volume :

Approximately 100000 xmls

Approximately 100000 other docs like word PDF and other Tika supported format.

Will base64 binay encoding will be a good idea for this or shall I consider COBR.

Will single index for everything is a good idea. If yes what should I consider for sharding my data.

I am planning to stick with 5 partion. Can I have custom logic to distribute the data in partition or elastic search will do efficiently.

I have large documents and index whole documents making the system slow. What option elastic search provided to deal with that.

Looking forward to some interesting replies.

I would appreciate if someone can share some production experience.

---

<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:** [December 12, 2018, 5:06pm UTC](https://discuss.elastic.co/t/ingestion-attachment-processor-plugin/160585/2 "2018-12-12T17:06:20Z")

</div>

What is slow? The ingest part? The search part?

If the search part, I'd recommend removing the binary BASE64 content in your ingest pipeline.

---

<div class="post-metadata">

**Author:** ![Zamir\_Arif](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zamir_arif/32/31894_2.png) [@Zamir\_Arif](https://discuss.elastic.co/u/Zamir_Arif)\
**Post date:** [December 12, 2018, 8:53pm UTC](https://discuss.elastic.co/t/ingestion-attachment-processor-plugin/160585/3 "2018-12-12T20:53:53Z")

</div>

Ingestion as well as search both are slow.

---

<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:** [December 12, 2018, 9:16pm UTC](https://discuss.elastic.co/t/ingestion-attachment-processor-plugin/160585/4 "2018-12-12T21:16:21Z")

</div>

Try to remove the binary in the pipeline.  
Measure before and after the change to see if it's getting better.

---

<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:** [January 9, 2019, 9:16pm UTC](https://discuss.elastic.co/t/ingestion-attachment-processor-plugin/160585/5 "2019-01-09T21:16:24Z")

</div>

Closed on January 9, 2019, 9:16pm UTC

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