lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaktu Chakarabati <jimmoe...@gmail.com>
Subject Re: Caching filters inside bq clauses when using DisMax
Date Thu, 21 Apr 2011 02:09:25 GMT
Hoss,
got you. I thought perhaps the bq is first computed as a filter, e.g a
bitmask over the entire corpus, and then intersected with results, in which
case it would've been beneficial to cache that bitmask,
I guess thats not how it works..


On Wed, Apr 20, 2011 at 3:25 PM, Chris Hostetter
<hossman_lucene@fucit.org>wrote:

>
> : Quick Question - are the filter queries used to create the document mask
> : inside bq clauses also cached using the filterCache?
> : this seems like an important optimization for sites that use bq heavily
> with
> : a small set of static boost selector filters..
>
> I really don't understand what you mean by "document mask"
>
> when bq is used, the query defined is added as an optional clause to the
> main query -- nothing can be cached independent of the main query, becaue
> the bq has no independent results.  it's just another clause of the mian
> query (factored into the final DocList)
>
> -Hoss
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

Mime
View raw message