lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Boolean Scorer
Date Fri, 10 Dec 2004 20:35:30 GMT
Christoph Goller wrote:
> I think we should change BooleanScorer. An easy way would be to sort the 
> bucket
> list before it is used. Do you think that would affect performance 
> dramatically?

I think it would make it slower.

> Otherwise we should reimplement BooleanScorer. I haven't looked into the
> DisjunctionScorer patch in Bugzilla yet. Maybe it's a good starting point.

I think we should incorporate Paul's code into CVS.  This algorithm may 
be slower in some cases, but it may also be faster in some cases.  We 
should add a static method to switch back to the old implementation, and 
encourage folks to benchmark their code.  If it proves no slower then we 
could remove the old implementation altogether.

What do others think?

Paul's code is in:

http://issues.apache.org/bugzilla/show_bug.cgi?id=31785

Has anyone tried this?

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message