You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/06/25 03:48: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=17985988#comment-17985988 ]
ASF subversion and git services commented on SOLR-17635:
--------------------------------------------------------
Commit 06768041f9223d64e1f07ad821bc2aec269b285b in solr's branch refs/heads/main from Renato Haeberli
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=06768041f92 ]
SOLR-17635: solr.solrj.javabin.readMapAsNamedList=true opt-in (#3163)
javabin format: provide option to decode maps as SimpleOrderedMap (a NamedList & Map)
instead of LinkedHashMap. Intended to aid in 10.x compatibility. Enable via sys prop: solr.solrj.javabin.readMapAsNamedList=true
> 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
> Labels: pull-request-available
> Time Spent: 7h 10m
> Remaining Estimate: 0h
>
> 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