# Ingest node different types

**URL:** <https://discuss.elastic.co/t/ingest-node-different-types/91273>\
**Category:** Elasticsearch\
**Created:** [June 29, 2017, 11:27am UTC](https://discuss.elastic.co/t/ingest-node-different-types/91273 "2017-06-29T11:27:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shimon\_Steinitz](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@Shimon\_Steinitz](https://discuss.elastic.co/u/Shimon_Steinitz)\
**Post date:** [June 29, 2017, 11:27am UTC](https://discuss.elastic.co/t/ingest-node-different-types/91273/1 "2017-06-29T11:27:26Z")

</div>

Hi,  
Is there a way to send a document via ingest node to multiple types?  
I need to reindex documents so that part of the document becomes a parent and the other part a child, all the stuff I tried till now has failed.  
My last resort is to reindex all the documents twice, once for the parents and one for the children (very not optimal for I am indexing billions of documents)  
My question is if there is a way to convert one document to multiple docs, or if there is a way to connect two pipelines (so that each document will go into both pipelines)

Thank you so much for your answer 🙂

---

<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:** [July 27, 2017, 11:27am UTC](https://discuss.elastic.co/t/ingest-node-different-types/91273/2 "2017-07-27T11:27:30Z")

</div>

Closed on July 27, 2017, 11:27am UTC

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