The Python Oracle

Elasticsearch fielddata unsupported while index mapping

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Track title: CC L Beethoven - Piano Sonata No 8 in C

--

Chapters
00:00 Question
01:37 Accepted answer (Score 3)
01:53 Thank you

--

Full question
https://stackoverflow.com/questions/4437...

Question links:
https://www.elastic.co/guide/en/elastics...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #elasticsearch #schema #elasticsearchindices

#avk47



ACCEPTED ANSWER

Score 3


You don't need to enable fielddata on keyword fields. you can do aggregations on keyword fields.