# Single file indexing with multiple docs in es

**URL:** <https://discuss.elastic.co/t/single-file-indexing-with-multiple-docs-in-es/346785>\
**Category:** Elasticsearch\
**Created:** [November 9, 2023, 11:56am UTC](https://discuss.elastic.co/t/single-file-indexing-with-multiple-docs-in-es/346785 "2023-11-09T11:56:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravikiran\_gunda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravikiran_gunda/32/127378_2.png) [@ravikiran\_gunda](https://discuss.elastic.co/u/ravikiran_gunda)\
**Post date:** [November 9, 2023, 11:56am UTC](https://discuss.elastic.co/t/single-file-indexing-with-multiple-docs-in-es/346785/1 "2023-11-09T11:56:44Z")

</div>

Hi Everyone, I have one large file and I indexed but that large file created multiple docs in Elasticsearch with myid+sequence no. so is there anyway to create multiple docs under single id, why i am asking is while searching distinct id's i am getting all docs of large file but it should get single record only.  
I attached screenshot, anyone can help on this

 ![Screenshot 2023-11-09 173111](https://us1.discourse-cdn.com/elastic/original/3X/1/c/1c1feca197b64d29f5fa5c705a66ddf888479493.png)

---

<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:** [December 7, 2023, 11:57am UTC](https://discuss.elastic.co/t/single-file-indexing-with-multiple-docs-in-es/346785/2 "2023-12-07T11:57:13Z")

</div>

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