On Jan 6, 2008 12:59 AM, s d <[EMAIL PROTECTED]> wrote:
> What is the best approach to tune queryResultCache ?For example  the default
> size is: size="512" but since a document id is just an int (it is an int,
> right?) ,i.e 4 bytes why not set size to 10,000,000 for example (it's only
> ~38Mb).

This cash size refers to the number of id lists are stored.
One query + sort that yields the top 20 results == 1 entry in the cache.

-Yonik

Reply via email to