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 2007/06/26 11:26:25 UTC
[jira] Created: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Remove deprecated methods in BooleanQuery
-----------------------------------------
Key: LUCENE-944
URL: https://issues.apache.org/jira/browse/LUCENE-944
Project: Lucene - Java
Issue Type: Improvement
Components: Search
Reporter: Paul Elschot
Priority: Minor
Fix For: 2.3
Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761401#action_12761401 ]
Michael Busch commented on LUCENE-944:
--------------------------------------
Yeah I figured it has to do with that, but it seems weird to me that a call to scorer.advance() (in QueryUtils, line 348) leads to a ArrayIndexOutOfBoundsException?
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Paul Elschot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Elschot updated LUCENE-944:
--------------------------------
Attachment: BooleanQuery20070626.patch
Patches BooleanQuery only. Tests pass, javadocs build.
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Priority: Minor
> Fix For: 2.3
>
> Attachments: BooleanQuery20070626.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch resolved LUCENE-944.
----------------------------------
Resolution: Fixed
Committed revision 824870.
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944-bw.patch, lucene-944.patch, lucene-944.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761421#action_12761421 ]
Mark Miller commented on LUCENE-944:
------------------------------------
A second part is that there looks to be some insane fieldcache usage that needs to be fixed in these tests - again, because the code wasn't hit before, we didn't see it before ...
I just keep randomly taking peeks ;)
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761440#action_12761440 ]
Mark Miller commented on LUCENE-944:
------------------------------------
bq. Now I just hope all bugs are in the tests...
I'm pretty sure they are (though obviously I cant gaurantee). Its all stuff Hoss and I saw before and fixed from what I can tell - we just fixed what was causing failures though, so getting past that line is exposing stuff we didn't handle.
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761424#action_12761424 ]
Michael Busch commented on LUCENE-944:
--------------------------------------
{quote}
So this was always there - but in the past, because BoolQuery.getAllowOutOfOrder was always returning true for these tests, it didn't get into the code thats now failing.
{quote}
Exactly.
Now I just hope all bugs are in the tests...
Sorry, have to leave now. Thanks for your help, Mark!
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761402#action_12761402 ]
Mark Miller commented on LUCENE-944:
------------------------------------
So this was always there - but in the past, because BoolQuery.getAllowOutOfOrder was always returning true for these tests, it didn't get into the code thats now failing.
With the replacement, because it only returns true or false based on if its a booleanquery, it gets through there for other queries, and we are seeing the results.
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch updated LUCENE-944:
---------------------------------
Fix Version/s: (was: 2.3)
3.0
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761403#action_12761403 ]
Mark Miller commented on LUCENE-944:
------------------------------------
bq. but it seems weird to me that a call to scorer.advance() (in QueryUtils, line 348) leads to a ArrayIndexOutOfBoundsException?
We had similar issues when we were working on these tests before. Hoss knows how the MultiReader/delete stuff is better than I do though - he wrote it, I just addressed issues/bugs.
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch updated LUCENE-944:
---------------------------------
Attachment: lucene-944-bw.patch
lucene-944.patch
Tiny change in QueryUtils#checkSkipTo() to keep it more consistent to how it worked before.
Also attaching the back-compat patch. Note that I have to make the change to checkSkipTo() there too, because it was not changed before to do the search per-segment. Now more tests actually run this check, exposing this problem.
All tests pass now.
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944-bw.patch, lucene-944.patch, lucene-944.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Issue Comment Edited: (LUCENE-944) Remove deprecated methods
in BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761392#action_12761392 ]
Michael Busch edited comment on LUCENE-944 at 10/1/09 4:11 PM:
---------------------------------------------------------------
Some test fail with this patch when a MatchAllDocQuery is used, e.g. TestSimpleExplanations.testMA1. skipTo() tries to get the delete bit for a negative document, which throws an Exception of course. This happens for a searcher that contains a MultiReader created by QueryUtils.wrapUnderlyingReader().
I assume this is related to the change I made in QueryUtils. I need to spend some more time to figure out what exactly leads to this exception. Maybe I'm doing something silly here - I'm still catching up on some changes, such as the out-of-order scoring changes.
I can't work on this till Monday, so anyone familiar with these tests feel free to take a look! :)
was (Author: michaelbusch):
Some test fail with this test when a MatchAllDocQuery is used, e.g. TestSimpleExplanations.testMA1. skipTo() tries to get the delete bit for a negative document, which throws an Exception of course. This happens for a searcher that contains a MultiReader created by QueryUtils.wrapUnderlyingReader().
I assume this is related to the change I made in QueryUtils. I need to spend some more time to figure out what exactly leads to this exception. Maybe I'm doing something silly here - I'm still catching up on some changes, such as the out-of-order scoring changes.
I can't work on this till Monday, so anyone familiar with these tests feel free to take a look! :)
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch updated LUCENE-944:
---------------------------------
Attachment: lucene-944.patch
Some test fail with this test when a MatchAllDocQuery is used, e.g. TestSimpleExplanations.testMA1. skipTo() tries to get the delete bit for a negative document, which throws an Exception of course. This happens for a searcher that contains a MultiReader created by QueryUtils.wrapUnderlyingReader().
I assume this is related to the change I made in QueryUtils. I need to spend some more time to figure out what exactly leads to this exception. Maybe I'm doing something silly here - I'm still catching up on some changes, such as the out-of-order scoring changes.
I can't work on this till Monday, so anyone familiar with these tests feel free to take a look! :)
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761407#action_12761407 ]
Mark Miller commented on LUCENE-944:
------------------------------------
Part of it or all of it is that the tests that are failing are using external ids, which doesn't work with this multireader stuff (since they are tech illegal, though they worked before per segment). We fixed a bunch of these, but missed these ones, since they didn't hit these tests. They need to be fixed in the same manner.
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761406#action_12761406 ]
Uwe Schindler commented on LUCENE-944:
--------------------------------------
When we change this, don't forget to remove the 2.9 BW tests that may fail because of this change - whenever we remove deprecated methods, the new 2.9 BW branch must be updated.
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch resolved LUCENE-944.
----------------------------------
Resolution: Fixed
Lucene Fields: [New, Patch Available] (was: [Patch Available, New])
Committed. Thanks, Paul!
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 2.3
>
> Attachments: BooleanQuery20070626.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Reopened: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch reopened LUCENE-944:
----------------------------------
Lucene Fields: [Patch Available] (was: [Patch Available, New])
You are right, Grant.
I will revert this for 2.3. Thanks for catching this!!
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 2.3
>
> Attachments: BooleanQuery20070626.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550149 ]
Grant Ingersoll commented on LUCENE-944:
----------------------------------------
Hmm, I was just trying to compile Luke source against the latest Lucene and am getting compiler errors on this being missing. Doesn't this violate our back-compatibility clause or did I miss something? Don't we have to wait until 3.0-dev to remove these?
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 2.3
>
> Attachments: BooleanQuery20070626.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Assigned: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch reassigned LUCENE-944:
------------------------------------
Assignee: Michael Busch
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 2.3
>
> Attachments: BooleanQuery20070626.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761397#action_12761397 ]
Mark Miller commented on LUCENE-944:
------------------------------------
Hoss added some multireader test stuff that counts on where the deletes are if I remember right.
so
{code}
- if (BooleanQuery.getAllowDocsOutOfOrder()) return; // in this case order of skipTo() might differ from that of next().
+ if (q.weight(s).scoresDocsOutOfOrder()) return; // in this case order of skipTo() might differ from that of next().
{code}
must not be exactly equiv and where it wasn't scoring out of order for this test, now it is, or vice versa (I havn't looked closely).
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763742#action_12763742 ]
Michael Busch commented on LUCENE-944:
--------------------------------------
Hey Mark, any interest in taking this, since you seem to have experience with fixing those tests?
Otherwise I'll continue here later tonight or tomorrow... you'd probably be faster though ;)
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-944) Remove deprecated methods in
BooleanQuery
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch updated LUCENE-944:
---------------------------------
Attachment: lucene-944.patch
All core & contrib tests pass now.
The problem was QueryUtils#checkSkipTo(). It still performed the checks using a global scorer, which resulted in failures in the FieldCacheSanityChecker. (the same values were cached twice: once for the global reader plus for the per-segment readers).
QueryUtils#checkFirstSkipTo() was already implemented correctly so that it performs the checks with per-segment scorers.
I think this is ready to commit now. Mark, do you want to take a look at my checkSkipTo() changes before I commit?
> Remove deprecated methods in BooleanQuery
> -----------------------------------------
>
> Key: LUCENE-944
> URL: https://issues.apache.org/jira/browse/LUCENE-944
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Paul Elschot
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: BooleanQuery20070626.patch, lucene-944.patch, lucene-944.patch
>
>
> Remove deprecated methods setUseScorer14 and getUseScorer14 in BooleanQuery, and adapt javadocs.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org