Automatically create a multivalued field that consists of values from selected fields

I would like to have a field that consists of values of other fields. E.g if a document has 2 fields; name and age, then there will be automatically created a new multivalued field that consists of these two formentioned fields.

Example:
"name" : John
"age" : 20
"combo" : [John, 20]

How can we do this in Elasticsearch? Is it possible to configure in any way to have this behaviour?

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