# How to index files?

**URL:** <https://discuss.elastic.co/t/how-to-index-files/287804>\
**Category:** Elastic Search\
**Created:** [October 27, 2021, 1:14pm UTC](https://discuss.elastic.co/t/how-to-index-files/287804 "2021-10-27T13:14:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alorenc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alorenc/32/96406_2.png) [@alorenc](https://discuss.elastic.co/u/alorenc)\
**Post date:** [October 27, 2021, 1:14pm UTC](https://discuss.elastic.co/t/how-to-index-files/287804/1 "2021-10-27T13:14:13Z")

</div>

I have added some pages to AppSearch. The documentation shows that Crawler does not analyze the documents (pdf / docx) inside the page.

1. I am interested in whether the links to these documents are stored somewhere (I couldn't find them).
2. If so, is it possible to somehow automate with a plugin "ingest-attachment" to parse data from these files?
3. if not, are there any solutions that would help me with this, do I have to write an external script that will collect all documents, convert them to base64 and pass through API for indexing
4. Can you set the data to be passed to a specific index in elasticseach using the previously mentioned plugin?
5. Is the previously mentioned plug-in able to handle duplicate files?
6. if I save the data from files under the selected index, how to combine them with the crawler data so that the prepared search engine uses both
7. Is there a way to verify the source, such as the content of a page or file, by configuring additional search fields for SearchUI.

I would like to solve this without using FSCrawler.

---

<div class="post-metadata">

**Author:** ![orhantoy](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@orhantoy](https://discuss.elastic.co/u/orhantoy)\
**Post date:** [October 28, 2021, 10:28am UTC](https://discuss.elastic.co/t/how-to-index-files/287804/2 "2021-10-28T10:28:49Z")

</div>

> [@alorenc](#):
>
> I am interested in whether the links to these documents are stored somewhere

All URLs that we find during a crawl will have a corresponding event logged together with a decision on whether it was denied or allowed. You can read more about those logs [here](https://www.elastic.co/guide/en/app-search/current/view-web-crawler-events-logs.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:** [November 4, 2022, 8:32am UTC](https://discuss.elastic.co/t/how-to-index-files/287804/3 "2022-11-04T08:32:50Z")

</div>


