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

Uwe Schindler updated LUCENE-1345:
----------------------------------

    Attachment: LUCENE-1345-Filter+Query-merge.patch

Attached is a patch, that merges ConstantScoreQuery and Filter APIs. The 
ConstantScoreQuery is deprecated by this. Further cleanups then may remove the 
use of ConstantScoreQuery from other places in Lucene, where the class is 
currently used to wrap filters as Queries.

All important tests pass! Only one test does not pass: a problem occurs in 
TestSimpleExplanations, but this may be because the changed 
toString()/toString(field) and query explanations (because ConstantScoreQuery 
no longer returns an explanation), this may be cha nged or the test should be 
rewritten. Nevertheless, I do not understand the whole test case :-)

Uwe

> 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, 
> 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