Update documents from multiple index based on condition

Elasticsearch Version: 6.0.0

I am currently having two indexes such as "user" and "purchase"

sample document :
User Index:
{
"name": "Tamil",
"id": "2"
}

Purchase Index:
{
"product": "Apache RTR 200",
"id": "p2",
"userId": "2"
}

we need the username in purchase index from user index based on the user Id.

is there any option avaibale in painless or someother ?

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