[
https://issues.apache.org/jira/browse/SOLR-17635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923909#comment-17923909
]
David Smiley commented on SOLR-17635:
-------------------------------------
Yes Renato. The change should ultimately be very small. Should use
EnvUtils.getPropertyAsBoolean with something like
"solr.solrj.javabin.mapAsNamedList" as a default, but possibly configurable
directly in code if desired (e.g. for test or user's needs).
> 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: [email protected]
For additional commands, e-mail: [email protected]