# Fsccrawler Document ID

**URL:** <https://discuss.elastic.co/t/fsccrawler-document-id/224021>\
**Category:** Elasticsearch\
**Created:** [March 18, 2020, 3:51am UTC](https://discuss.elastic.co/t/fsccrawler-document-id/224021 "2020-03-18T03:51:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [March 18, 2020, 3:51am UTC](https://discuss.elastic.co/t/fsccrawler-document-id/224021/1 "2020-03-18T03:51:52Z")

</div>

Hello,

Can anyone help me in this?  
I wanted to check that, when we index any folder using FSCrawler, for each file in he folder separate document id is generated or for all the files or attachments in the folder only one document id is created at the time of indexing?

I have used FSCrawler to index attachments.

Regards,  
Priyanka

---

<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:** [March 18, 2020, 5:39am UTC](https://discuss.elastic.co/t/fsccrawler-document-id/224021/2 "2020-03-18T05:39:53Z")

</div>

There is one JSON document per file and folder and each JSON document has its own `_id`.

---

<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:** [April 15, 2020, 5:41am UTC](https://discuss.elastic.co/t/fsccrawler-document-id/224021/3 "2020-04-15T05:41:05Z")

</div>

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