Remote reindex

(sasikumar) #1

Dear Team,

We have 2 elastic search environment and below are the details. We are trying to the remote reindex the data from old environment(ES-2.1) to new environment (ES-6.1.3).

But we need to reindex the date only for last 2 to 3 years. Is there any query for remote reindex? if so kindly provide the query to copy complete event for last 2 to 3 years.

  1. Elastic search 2.1 (OLD ENVIRONMENT)

(David Pilato) #2

Reindex api supports indeed that you pass a query.

Just run a search query to test it first. Use a range query on your date field to filter between 2 dates.

(sasikumar) #3

Thank you. Can We get the exact search query or any link to proceed further on this.

(David Pilato) #4