[
https://issues.apache.org/jira/browse/LUCENE-3918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shai Erera updated LUCENE-3918:
-------------------------------
Attachment: LUCENE-3918.patch
Patch does:
* Get rid of SortDoc. Sorter is now abstract class with a helper {{int[]
compute(int[] docs, T[] values)}} method which sorter implementations can call
to implement oldToNew().
** Thanks Uwe for helping me sort out the generics signatures!!
* Folded all SortingXYZ classes as private inner classes of
SortingAtomicReader. While it increases SortingAR's code size, I feel that's
the right thing to do, as these classes have no business on their own (even as
package-private). If in the future we'll want to open them up for extension, we
can make them public or something.
* Add {{getWrapped}} to both SortingDocsEnum and Positions, and implemented
reuse as suggested by Adrien.
> Port index sorter to trunk APIs
> -------------------------------
>
> Key: LUCENE-3918
> URL: https://issues.apache.org/jira/browse/LUCENE-3918
> Project: Lucene - Core
> Issue Type: Task
> Components: modules/other
> Affects Versions: 4.0-ALPHA
> Reporter: Robert Muir
> Fix For: 4.2, 5.0
>
> Attachments: LUCENE-3918.patch, LUCENE-3918.patch, LUCENE-3918.patch,
> LUCENE-3918.patch, LUCENE-3918.patch, LUCENE-3918.patch, LUCENE-3918.patch,
> LUCENE-3918.patch, LUCENE-3918.patch, LUCENE-3918.patch, LUCENE-3918.patch
>
>
> LUCENE-2482 added an IndexSorter to 3.x, but we need to port this
> functionality to 4.0 apis.
--
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: [email protected]
For additional commands, e-mail: [email protected]