# Append documents based on a single id from different indexes

**URL:** <https://discuss.elastic.co/t/append-documents-based-on-a-single-id-from-different-indexes/204605>\
**Category:** Elasticsearch\
**Created:** [October 22, 2019, 8:43am UTC](https://discuss.elastic.co/t/append-documents-based-on-a-single-id-from-different-indexes/204605 "2019-10-22T08:43:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinothkumar\_Ganeshan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinothkumar_ganeshan/32/46534_2.png) [@Vinothkumar\_Ganeshan](https://discuss.elastic.co/u/Vinothkumar_Ganeshan)\
**Post date:** [October 22, 2019, 8:43am UTC](https://discuss.elastic.co/t/append-documents-based-on-a-single-id-from-different-indexes/204605/1 "2019-10-22T08:43:17Z")

</div>

Hello, I'm giving a scenario more than a code to understand more.

Index - Shopping:  
field - product id  
field - time  
field - customer id  
field - event (- Value :Purchase)

Index- Cart:  
field - product id  
field - time  
field - customer id  
field - event (- Value : Clicked)

Index-Visitors:  
field - product id  
field - time  
field - customer id  
field - event (Value : Visitor)

I'm thinking to merge and make a sample index based on product id (which is more concerned for me). To have a idea on what products which really interest customers. If its generic, please let me know, what else information you may need. Thanks for your time.

---

<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 19, 2019, 8:43am UTC](https://discuss.elastic.co/t/append-documents-based-on-a-single-id-from-different-indexes/204605/2 "2019-11-19T08:43:26Z")

</div>

Closed on November 19, 2019, 8:43am UTC

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