# Appsearch support for large attachments

**URL:** <https://discuss.elastic.co/t/appsearch-support-for-large-attachments/287104>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [October 19, 2021, 2:15pm UTC](https://discuss.elastic.co/t/appsearch-support-for-large-attachments/287104 "2021-10-19T14:15:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ggbertelli](https://avatars.discourse-cdn.com/v4/letter/g/54ee81/32.png) [@ggbertelli](https://discuss.elastic.co/u/ggbertelli)\
**Post date:** [October 19, 2021, 3:20pm UTC](https://discuss.elastic.co/t/appsearch-support-for-large-attachments/287104/2 "2021-10-19T15:20:00Z")

</div>

I did not see the datatype called "attachments" in the Appsearch documentation

I found a suggestion to use \_simulate (which means to post the attachment to elasticsearch first then query the elasticsearch \_simulate to get back the data to be submitted to the Appsearch

> [@How to index PDF file data and search data from attachment PDF file](https://discuss.elastic.co/t/how-to-index-pdf-file-data-and-search-data-from-attachment-pdf-file/265565/6):
>
> So you need to add the ingest attachment plugin Click on Settings and Plugins: [image] Add the plugin. And don't forget to save the changes. After the cluster has been updated, you will be able to use the Elasticsearch endpoint to call the \_simulate API. See [Simulate pipeline API | Elasticsearch Reference [7.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.11/simulate-pipeline-api.html) If you mix that with [the plugin documentation](https://www.elastic.co/guide/en/elasticsearch/plugins/current/using-ingest-attachment.html), you should be able to execute something like: # Create the pipeline PUT \_ingest/pipeline/attachment { "descript…

or

> [@Is it possible to index Files (PDF, DOC, PPT) using App Search?](https://discuss.elastic.co/t/is-it-possible-to-index-files-pdf-doc-ppt-using-app-search/254213):
>
> I would like to use App Search for searching files from the server folder, Is it possible to feed this to Elastic Enterprise Search - App Search as a document using ingest-attachment-plugin. My server is NodeJS, also I prefer App search as it has options like Synonyms, Curations, ... Help will be appreciated, Thank you

Are we missing something?

Another solution is to use Tika: \* programmatically parsing my files with Apache Tika (should I convert them to Base64?)

Thank you in advance

---

_[View the full topic](https://discuss.elastic.co/t/appsearch-support-for-large-attachments/287104)._
