Is there an equivalent of a copyfield in Elasticsearch


(poohneat) #1

Solr has this feature, http://wiki.apache.org/solr/SchemaXml#Copy_Fields, which allows you to index a few fields together as one field. Is there an equivalent of that in ES. I need this to index a few differently named fields together as one field.


(Jelmer Kuperus) #2

I believe you can use copy_to for this

https://www.elastic.co/guide/en/elasticsearch/guide/current/custom-all.html


(system) #3