# Is it possible to index Files (PDF, DOC, PPT) using App Search?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-index-files-pdf-doc-ppt-using-app-search/254213>\
**Category:** Elastic Search\
**Created:** [November 4, 2020, 6:45am UTC](https://discuss.elastic.co/t/is-it-possible-to-index-files-pdf-doc-ppt-using-app-search/254213 "2020-11-04T06:45:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ELKUser111](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elkuser111/32/78371_2.png) [@ELKUser111](https://discuss.elastic.co/u/ELKUser111)\
**Post date:** [November 4, 2020, 6:45am UTC](https://discuss.elastic.co/t/is-it-possible-to-index-files-pdf-doc-ppt-using-app-search/254213/1 "2020-11-04T06:45:18Z")

</div>

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

---

<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:** [November 4, 2020, 10:27am UTC](https://discuss.elastic.co/t/is-it-possible-to-index-files-pdf-doc-ppt-using-app-search/254213/2 "2020-11-04T10:27:47Z")

</div>

Why not using Workplace Search in that case? It's meant for that use case.

But the answer is that you need to build that by yourself. Crawl the server folder, extract data and send that to AppSearch.

To extract the data, one of the solution could be to use the `_simulate` endpoint of elasticsearch ingest feature.

---

<div class="post-metadata">

**Author:** ![ELKUser111](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elkuser111/32/78371_2.png) [@ELKUser111](https://discuss.elastic.co/u/ELKUser111)\
**Post date:** [November 4, 2020, 10:49am UTC](https://discuss.elastic.co/t/is-it-possible-to-index-files-pdf-doc-ppt-using-app-search/254213/3 "2020-11-04T10:49:09Z")

</div>

Thank you, Could you please share some example or samples regarding how to integrate `_simulate` endpoint of elasticsearch ingest feature with App search.

---

<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:** [November 4, 2020, 12:57pm UTC](https://discuss.elastic.co/t/is-it-possible-to-index-files-pdf-doc-ppt-using-app-search/254213/4 "2020-11-04T12:57:47Z")

</div>

The simulate API endpoint is here:

> **[Simulate pipeline API | Elasticsearch Reference \[7.9\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/simulate-pipeline-api.html)**

---

<div class="post-metadata">

**Author:** ![ELKUser111](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elkuser111/32/78371_2.png) [@ELKUser111](https://discuss.elastic.co/u/ELKUser111)\
**Post date:** [November 4, 2020, 1:24pm UTC](https://discuss.elastic.co/t/is-it-possible-to-index-files-pdf-doc-ppt-using-app-search/254213/5 "2020-11-04T13:24:01Z")

</div>

Thank You, Looks like this pipeline requires raw data extracted from the files (PDF, DOC,...). Will check this.

---

<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 4, 2022, 8:16am UTC](https://discuss.elastic.co/t/is-it-possible-to-index-files-pdf-doc-ppt-using-app-search/254213/6 "2022-11-04T08:16:54Z")

</div>


