Mapping multifields

I have source {
'phone_work' : '123232',
'phone_mobile': '12323',
'phone_other': '34324'
}
How can i mapping this fields to one field, that search was by one field "phones"

You could use the copy-to feature for this: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-core-types.html#copy-to

1 Like

thanks.