You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/04/15 22:48:17 UTC

[jira] [Resolved] (LUCENE-4504) Empty results from IndexSearcher.searchAfter() when sorting by FunctionValues

     [ https://issues.apache.org/jira/browse/LUCENE-4504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-4504.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 4.1)
                   4.3
    
> 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
>             Fix For: 5.0, 4.3
>
>         Attachments: LUCENE-4504.patch, LUCENE-4504.patch, Lucene4504Test.java
>
>
> 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