Is there any way I can index multiple child documents by query.
Let’s say I have 10K product document and I have customer to whom all 10k orders are applicable. I am storing product as parent and customer as child. Now I want to add same customer to all products.
Can I add 10k child, one under each parent, at once or by query instead of adding one by one?
I am not aware of any way to do what you want within Elasticsearch so you may need to do it externally. If you are not already I would recommmend you use the bulk API to add the documents.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.