# Percolator query fields migration from version 6 to version 8 using reindex

**URL:** <https://discuss.elastic.co/t/percolator-query-fields-migration-from-version-6-to-version-8-using-reindex/312168>\
**Category:** Elasticsearch\
**Tags:** docker, reindex\
**Created:** [August 16, 2022, 10:22am UTC](https://discuss.elastic.co/t/percolator-query-fields-migration-from-version-6-to-version-8-using-reindex/312168 "2022-08-16T10:22:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CamiloPDL](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camilopdl/32/108339_2.png) [@CamiloPDL](https://discuss.elastic.co/u/CamiloPDL)\
**Post date:** [August 16, 2022, 10:22am UTC](https://discuss.elastic.co/t/percolator-query-fields-migration-from-version-6-to-version-8-using-reindex/312168/1 "2022-08-16T10:22:11Z")

</div>

Hello community  
I would like to use reindex functionality from elasticsearch to move data from a version 6 cluster to a version 8 cluster. The reindex is working well, the issue is the migration of percolator query fields. The docs says they can be updated using reindex, but it is not working as I expected.  
What is happening?  
I have 2 local environment using docker, one with version 6 and the other with version 8. If I reindex using [http://localhost:9200](http://localhost:9200) as remote source, all the percolator query field from version 6 are updated to version 8 during the reindex.  
But, when I use as remote source a different cluster (different url) the percolator query fields are not updated. Even if I set host.docker.internal to get the IP of my local environment (localhost) in version 6, the percolator is not updated.  
I am not sure but I see some behavior around "localhost", maybe someone can help clarifying if the percolator query fields cannot be updated unless I use localhost or if I need to set some index/cluster settings.  
Thanks

---

<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:** [September 13, 2022, 10:22am UTC](https://discuss.elastic.co/t/percolator-query-fields-migration-from-version-6-to-version-8-using-reindex/312168/2 "2022-09-13T10:22:53Z")

</div>

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