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:22:16 UTC
[jira] [Reopened] (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 reopened LUCENE-4504:
---------------------------------
While adding more assertions to the tests, i noticed i somehow screwed up the backport here... this bugfix and test were never backported to 4.1.
> 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: 4.1, 5.0
>
> 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