Estimating Filter Cache Needs

(Mike Sukmanowsky) #1

Hey all,

Is there an easy way (even if not entirely accurate) to estimate the size
of an individual filter in the filter cache if we know the approximate
number of documents the index holds? Realize it's a bit tricky as filter
cache is node-level, not index-level by default.

If it were straight non-sparse bitset then a filter would be n-bits in
size: 1B documents = 1B bits = 125MB but I'm guessing ES tries to use a
more clever implementation of a bitset.


Mike Sukmanowsky
Aspiring Digital Carpenter

p: +1 (416) 953-4248

facebook | twitter | LinkedIn | github

Please update your bookmarks! We have moved to

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit

(system) #2