# Reindex PHP Client Elastic Search

**URL:** <https://discuss.elastic.co/t/reindex-php-client-elastic-search/71691>\
**Category:** Elasticsearch\
**Created:** [January 16, 2017, 7:59am UTC](https://discuss.elastic.co/t/reindex-php-client-elastic-search/71691 "2017-01-16T07:59:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srinivas\_Mangipudi](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@Srinivas\_Mangipudi](https://discuss.elastic.co/u/Srinivas_Mangipudi)\
**Post date:** [January 16, 2017, 7:59am UTC](https://discuss.elastic.co/t/reindex-php-client-elastic-search/71691/1 "2017-01-16T07:59:34Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 13, 2017, 7:59am UTC](https://discuss.elastic.co/t/reindex-php-client-elastic-search/71691/2 "2017-02-13T07:59:42Z")

</div>

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