Combining fields from two indexes

hi team, i have index1 and index2. I need to get field value from index1 to transform it with field from index2 and then receive field3 as result of transforming fields from these two indexes. what the way to do it with elasticsearch API?

The only way to do this is in your code via two queries and a transformation job. There's nothing native to Elasticsearch that will do this sorry.

Thanks for the answer. Transformation job should be done with Painless or what?

No, in your code.

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