Hi everyone, I got into the same problem that is found here
http://thomasardal.com/terms-aggregations-on-analyzed-fields-in-elasticsearch/
The problem is, we already got our data indexed with "analyzed" option ,
Is there anyway we can revert the process / use the "unanalyzed" texts to get the aggregation we wanted?
Sorry for the basic question and thank you very much
You will need to alter mappings and reindex the data to make such a change.
Thank you, Christian.
So that mean its impossible wihout the original data, right?
Unless you have disabled the _source field, you should be able to used the reindex API to reindex from your current index.
Check either data.keyword is available in your index or not??? If you have
that you can directly use that.