Elasticsearch Reindex using script

Hi ,

I want to reindex my old index by adding two new fields depends on a existing field . I have a csv like below.


Can we use the reindex API's script field to parse this csv and renidex ?

Can any one help?


the reindex API is not able to read anything from disk, you would need to supply this information externally. From what I read I think it makes more sense to implement your own python/perl/shell script using a scroll search, that is also reading that CSV.


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