Should filters be used for fields with high cardinality?

Hi all,

Should Elasticsearch query filters be applied to fields with high cardinality?

From what I understand, filters are not scored, and they are cached.

However, I’m wondering if it’s better to cache only filters on low-cardinality fields. Would caching filters for high-cardinality fields cause unnecessary memory usage or potentially reduce performance/limit the benefit?