lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Exploiting a whole lot of memory
Date Thu, 10 Oct 2013 18:51:19 GMT
On Thu, Oct 10, 2013 at 2:19 PM, Benson Margulies <> wrote:

> Profile shows a lot of time in$
> BooleanScorerCollector.collect(int).

Ahh, that.  We tried to optimize it in LUCENE-4366 but could not get
clear gains...

It's expected to be a hotspot: it "folds in" one hit from one term in
your BooleanQuery.  It also calls .score() to compute the score.

Are you using any prohibited (MUST_NOT) clauses?  Today we (stupidly)
score hits for those ...

Mike McCandless

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message