lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4504) Empty results from IndexSearcher.searchAfter() when sorting by FunctionValues
Date Thu, 25 Oct 2012 16:55:12 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message