Reindex PHP Client Elastic Search

I want to change the mapping of some fields in my current index "orders", where I want to add "non_analysed" to the title field.

For this I understand that I need to re-index my old index, by copying it into a new index with the new mapping. How can I do this using the php ElasticSearch API?

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