lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Elschot (JIRA)" <>
Subject [jira] Updated: (LUCENE-1345) Allow Filter as clause to BooleanQuery
Date Sun, 22 Mar 2009 15:15:50 GMT


Paul Elschot updated LUCENE-1345:

    Attachment: LUCENE-1345.patch

An interim update (22 March 2009) to the patch for this issue.

The patch pushes the evaluation of required filter clauses into ConjunctionScorer, which should
bring a small speed improvement to filtered searches. This also gives an alternative to the
current use of filters in the Searcher API.

However, the patch still fails some test cases, most notably TestBoolean2.testQueries06 which
has two excluding query clauses. This indicates that there is a bug somewhere in/around the
DisiDocQueue class that is added by the patch. Some of the random query tests also fail. AFAIK
all failing test cases have excluding query clauses.
So I think all tests will pass once this bug is solved.

Another issue with this is more duplication of code originating from PriorityQueue in the
DisiDocQueue class.

I don't really like to post a patch with a known bug, but I can spend so little time on this
issue in the near future that I prefer to give someone else the 'opportunity' to complete

In case the patch does not apply cleanly please let me know.

> Allow Filter as clause to BooleanQuery
> --------------------------------------
>                 Key: LUCENE-1345
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Paul Elschot
>            Priority: Minor
>             Fix For: 2.9
>         Attachments: booleansetperf.txt,, DisjunctionDISI.patch,
DisjunctionDISI.patch, LUCENE-1345-Filter+Query-merge.patch, LUCENE-1345.patch, LUCENE-1345.patch,

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message