On Thu, Oct 10, 2013 at 2:19 PM, Benson Margulies <ben...@basistech.com> wrote:

> Profile shows a lot of time in   org.apache.lucene.search.BooleanScorer$
> 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

http://blog.mikemccandless.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to