Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 3.1
How does one rename the fields when performing a reindex operation? The application I work on had a major naming convention overhaul and this includes renaming the index fields.
I checked Reindex data - OpenSearch Documentation - Transform documents during reindexing that states that either a script or a ingest pipeline can be used to transform data during a reindex operation but the only straightfoward way I found for renaming was using a search pipeline
Is it possible to rename with ingest pipeline? If so, examples would be welcome
Is it possible to use a search pipeline in the reindex operation? How would it be done?
Is there another way to handling this operation? I would appreciate suggestions.
The renaming is not the only reason for the reindex, as we would also be splitting a larger index on smaller ones and changing some field types.
Thanks in advance!