You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2013/03/15 08:46:13 UTC

[jira] [Resolved] (LUCENE-4830) Sorter API: use an abstract doc map instead of an array

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

Adrien Grand resolved LUCENE-4830.
----------------------------------

    Resolution: Fixed

Thank you for the review, Shai!
                
> Sorter API: use an abstract doc map instead of an array
> -------------------------------------------------------
>
>                 Key: LUCENE-4830
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4830
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Trivial
>             Fix For: 4.3
>
>         Attachments: LUCENE-4830.patch
>
>
> The sorter API uses arrays to store the old->new and new->old doc IDs mappings. It should rather be an abstract class given that in some cases an array is not required at all (reverse mapping for example).

--
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