I have added a field which is not actually required in elastic search. Now I want to get rid of it. Changing mapping or making a new one will reindex my whole data. Which is very huge and cant afford to do such thing. Can anyone suggest something by which i can get rid of this newly added field without reindexing?
Thanks, But I didn't get why it is not feasible. Or what is the idea behind not letting users do this? Can you please explain a bit on this.
Because Lucene produces immutable segments. Changing the mapping is not doable because the data continues to live in the segments somewhere.
Just don't use that field in your application and that's all.
If you want to remove it entirely, you will need to remove it from all segments which can only be done by rewriting all the segments, which is reindexing actually.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.