I'm trying to Re-Index an old index in which I have to replace a String with another in a field. Here is the old index data.
From this I want to replace "Mr.Rakesh Kumar" with "RK" in the new Index.
I have tried
host => [ "localhost" ]
index => "student_info_idx"
gsub => ["patientName","Mr%","X"]
host => "localhost"
index => "student_idx_new"
index_type => "student_idx_new"
codec => "json"
But Nothing has changed in the new Index. Please suggest me how to do this.
Thanks and Regards,