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.

Thanks!
Mike

--
Mike Sukmanowsky
Aspiring Digital Carpenter

p: +1 (416) 953-4248
e: mike.sukmanowsky@gmail.com

facebook http://facebook.com/mike.sukmanowsky | twitter
http://twitter.com/msukmanowsky | LinkedIn
http://www.linkedin.com/profile/view?id=10897143 | github
https://github.com/msukmanowsky

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOH6cu7OyEVd2VQ2_ZzxJMhE3kshEuBXYRyoN0%2BSPJguxbHdCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2