You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2006/11/27 21:38:21 UTC

[jira] Updated: (LUCENE-730) Restore top level disjunction performance

     [ http://issues.apache.org/jira/browse/LUCENE-730?page=all ]

Paul Elschot updated LUCENE-730:
--------------------------------

    Attachment: TopLevelDisjunction20061127.patch

This patches BooleanScorer2 to use BooleanScorer in the score(HitCollector) method.
This also patches BooleanScorer to accept a minimum number of optional matchers.

The patch also disables some test code: the use of checkSkipTo in QueryUtils
caused a test failure in TestBoolean2 with the above changes. I think this
could be expected because of the changed document scoring order
for top level disjunction queries.
At the moment I don't know how to resolve this.

With the complete patch, all tests pass here.


> Restore top level disjunction performance
> -----------------------------------------
>
>                 Key: LUCENE-730
>                 URL: http://issues.apache.org/jira/browse/LUCENE-730
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: TopLevelDisjunction20061127.patch
>
>
> This patch restores the performance of top level disjunctions. 
> The introduction of BooleanScorer2 had impacted this as reported
> on java-user on 21 Nov 2006 by Stanislav Jordanov.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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