lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: Question about filter cache size
Date Fri, 03 Oct 2014 19:57:26 GMT
On Fri, Oct 3, 2014 at 3:42 PM, Peter Keegan <> wrote:
> Say I have a boolean field named 'hidden', and less than 1% of the
> documents in the index have hidden=true.
> Do both these filter queries use the same docset cache size? :
> fq=hidden:false
> fq=!hidden:true

Nope... !hidden:true will be smaller in the cache (it will be cached
as hidden:true and then inverted)
The downside is that you'll pay the cost of that inversion.

-Yonik - native code faceting, facet functions,
sub-facets, off-heap data

View raw message