I've suddenly noticed that fielddata cache for the _id field is taking 14GB of RAM on my cluster, and I'm not sure where that came from (probably some query I'm not aware of). I've cleared it manually, but I'm worried it might return. Is there a way to disable fielddata cache for the entire index, or even better - the entire cluster?
(I'm using ES 6.6)
Looks like some query might have caused it, though we do not recommend using _id for sorting, aggregations etc.
In case you do want to use it then it is recommended to duplicate into another field.
it is advised to duplicate the content of the _id field in another field that has doc_values enabled.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.