[ 
https://issues.apache.org/jira/browse/LUCENE-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431316#comment-13431316
 ] 

Robert Muir commented on LUCENE-4219:
-------------------------------------

I tried to look into this, because its bad i think if a scorer returns 
different scores depending if you use next() or advance().

Basically it sees less payloads if you advance() it. I think the problem might 
be in NearUnorderedSpans, but I didn't get anywhere.
                
> PayloadNearQuery bugs
> ---------------------
>
>                 Key: LUCENE-4219
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4219
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4219_test.patch
>
>
> This query has never been thru QueryUtils, nor are the explains tested.
> Applying Queryutils gives:
> {noformat}
> [junit4:junit4] FAILURE 0.06s | TestPayloadNearQuery.testPayloadNear
> [junit4:junit4]    > Throwable #1: junit.framework.AssertionFailedError: 
> query assigned doc 321 a score of <2.3333333> but skipTo(321) has 
> <2.2857144>! expected:<2.3333333> but was:<2.2857144>
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to