Hello,
I have a requirement to change a field type from String to float. What's the best method without reindexing? In the past we changed the field type, reindexed and had to wait for all the old index with old field type to get deleted before field type mismatch get's removed and we can filter with the new field type. Is there an easier and quicker approach? We are on OpenSearch 7.10 and Kibana v 7.10.2. Thanks
OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.
(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns )
There is not, changing the type of existing data requires a reindex.
Since version 7.11 you have the option to create Runtime fields to make the type to be evaluated at query time, but this does not work for float
types, also this is a Elasticsearch feature, so it wouldn't work on Opensearch as well.
Not sure if Opensearch has a similar feature, since it is not supported here you would need to check on an Opensearch forum.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.