: > I know this is a lot and I'm going to decrease it, I was just experimenting, : > but I need some guidelines of how to calculate the right size of the cache. : : Each filter that matches more than ~3000 documents will occupy maxDocs/8 bytes : of memory. Certain kinds of faceting require one entry per unique value in a
FWIW: the magic number 3000 is the example value of the <HashDocSet maxSize="3000" /> config option ... it can be tweaked if you think you can tune it to a value that makes more sense given the nature of the types of DocSets you are dealing with, but i wouldn't bother (there are probably a lot of better ways you can spend your time to tweak performance) -Hoss