lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (LUCENE-944) Remove deprecated methods in BooleanQuery
Date Thu, 01 Oct 2009 23:12:24 GMT

    [ 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


Mime
View raw message