You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Renato Haeberli (Jira)" <ji...@apache.org> on 2025/02/04 21:44:00 UTC
[jira] [Commented] (SOLR-17635) javabin should deserialize maps as SimpleOrderedMap
[ https://issues.apache.org/jira/browse/SOLR-17635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923837#comment-17923837 ]
Renato Haeberli commented on SOLR-17635:
----------------------------------------
[~dsmiley] Here you are referring to the Classes starting with JavaBin such as JavaBinCodec, JavaBinUpdateRequestCodec, etc.?
> javabin should deserialize maps as SimpleOrderedMap
> ---------------------------------------------------
>
> Key: SOLR-17635
> URL: https://issues.apache.org/jira/browse/SOLR-17635
> Project: Solr
> Issue Type: Improvement
> Reporter: David Smiley
> Priority: Major
>
> Once SimpleOrderedMap actually implements Map (SOLR-17623), Solr's "javabin" format should deserialize all maps as a SimpleOrderedMap. This will make it easier to transition away from NamedList/SimpleOrderedMap in responses (such as to a Map or MapWriter) without worry of impacting javabin clients that still expect a NamedList.
> It may also increase deserialization performance & lower memory at the expense of any former Maps (thus were deserialized as LinkedHashMap, O(1) lookup) becoming O(N) lookup.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org