[ 
https://issues.apache.org/jira/browse/LUCENE-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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 this.

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


> Allow Filter as clause to BooleanQuery
> --------------------------------------
>
>                 Key: LUCENE-1345
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1345
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Paul Elschot
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: booleansetperf.txt, DisjunctionDISI.java, 
> DisjunctionDISI.patch, DisjunctionDISI.patch, 
> LUCENE-1345-Filter+Query-merge.patch, LUCENE-1345.patch, LUCENE-1345.patch, 
> LUCENE-1345.patch, OpenBitSetIteratorExperiment.java, TestIteratorPerf.java, 
> TestIteratorPerf.java
>
>


-- 
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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to