lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4904) Sorter API: Make NumericDocValuesSorter able to sort in reverse order
Date Tue, 09 Apr 2013 15:14:16 GMT

     [ 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


Mime
View raw message