We have an index under rollover policy/index template for which we need to update the mapping to make a field searchable (initially set up to index: false but now needed).
What would be the right process?
I'm thinking of the following process:
- change the index template with the new mapping
- manually force a rollover
- reindex previous rollover indexes instances
Would that make the new indexed field searchable on the new records? or would that break because old records are not searchable?
or should I create a new index, policy, template, then move my pipeline to this new correct format, and reindex the existing data into indexes matching the new rollover pattern?
Like starting the first rollover index at xxxx-000025 and reindexing in all numbers below 25 ?