You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Busch (JIRA)" <ji...@apache.org> on 2009/10/02 01:12:24 UTC

[jira] Issue Comment Edited: (LUCENE-944) Remove deprecated methods in BooleanQuery

    [ 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