[
https://issues.apache.org/jira/browse/SOLR-10882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054002#comment-16054002
]
Dennis Gove commented on SOLR-10882:
------------------------------------
Appears this
{code}
Comparator<Comparable> comparator = "asc".equals(sortOrder) ? (left,right) ->
left.compareTo(right) : (left,right) -> right.compareTo(left);
list = list.stream().map(value ->
(Comparable<Object>)value).sorted(comparator).collect(Collectors.toList());
{code}
doesn't take into account differing types (double and long). Will correct with
a type normalization pass.
> Restructure and Cleanup Stream Evaluators
> -----------------------------------------
>
> Key: SOLR-10882
> URL: https://issues.apache.org/jira/browse/SOLR-10882
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Dennis Gove
> Attachments: SOLR-10882.patch
>
>
> There are a suite of new Stream Evaluators that I'd like to cleanup and
> restructure prior to the cutting of v7. This ticket is to track that progress.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]