On 14-Nov-07, at 12:00 AM, Paul Elschot wrote:
On Wednesday 14 November 2007 06:42:56 Mike Klaas wrote:
...
... I was
imagining that it was necessary to embed the filter clauses in the
"core" to produce an effective implementation. By the time I
finished my response, I had read enough of the relevant Lucene scorer
code (in particular, ReqOptScorer) to realize that the benefits would
be had using an outer-layer ConjunctionQuery as well.
I have a extension of Lucene's ConjunctionSumScorer that allows
filter clauses, but it's waiting for
http://issues.apache.org/jira/browse/LUCENE-584 .
LUCENE-584 is the ideal means of implementing this, though it seems
that it will be in 2.4 at the earliest. It is cool stuff though--I
added a vote.
-Mike