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

Michael McCandless commented on LUCENE-4504:
--------------------------------------------

That's definitely a bug, and the fix looks good (though are we sure the first 
if shouldn't return 1?).

Do you have a test showing the bug/fix?  Thanks.
                
> Empty results from IndexSearcher.searchAfter() when sorting by FunctionValues
> -----------------------------------------------------------------------------
>
>                 Key: LUCENE-4504
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4504
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/other
>    Affects Versions: 4.0
>            Reporter: TomShally
>            Priority: Minor
>         Attachments: LUCENE-4504.patch
>
>
> IS.searchAfter() always returns an empty result when using FunctionValues for 
> sorting.
> The culprit is ValueSourceComparator.compareDocToValue() returning -1 when it 
> should return +1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to