You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2013/04/09 17:14:16 UTC
[jira] [Updated] (LUCENE-4904) Sorter API: Make
NumericDocValuesSorter able to sort in reverse order
[ https://issues.apache.org/jira/browse/LUCENE-4904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shai Erera updated LUCENE-4904:
-------------------------------
Attachment: LUCENE-4904.patch
I hacked this up real quickly, so I could be missing something. Patch adds a ReverseOrderSorter which wraps a Sorter and on sort() returns a DocMap that reverses whatever the wrapped Sorter DocMap returned.
I still didn't figure out how to plug that sorter with existing tests, so it could be this approach doesn't work. Will look at it later.
> Sorter API: Make NumericDocValuesSorter able to sort in reverse order
> ---------------------------------------------------------------------
>
> Key: LUCENE-4904
> URL: https://issues.apache.org/jira/browse/LUCENE-4904
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Trivial
> Labels: newdev
> Fix For: 4.3
>
> Attachments: LUCENE-4904.patch
>
>
> Today it is only able to sort in ascending order.
--
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