[
https://issues.apache.org/jira/browse/SOLR-18410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrzej Bialecki updated SOLR-18410:
------------------------------------
Summary: CrossDC Common: multivalued params and per-entry params don't
survive the serialization round-trip (was: CrossDC Common: multivalued params
and per-doc params don't survive the serialization round-trip)
> CrossDC Common: multivalued params and per-entry params don't survive the
> serialization round-trip
> --------------------------------------------------------------------------------------------------
>
> Key: SOLR-18410
> URL: https://issues.apache.org/jira/browse/SOLR-18410
> Project: Solr
> Issue Type: Bug
> Components: module - crossDC
> Affects Versions: 10.0, main(11.0), 9.10.1
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Major
>
> {{MirroredSolrRequestSerializer}} doesn't properly support multivalued
> SolrParams on deserialization because it uses {{MapSolrParams}} for
> deserialization.
> There's an {{assert}} in {{MapSolrParams}} constructor to ensure that entries
> from the incoming map are {{String.class}} but this check only works when
> asserts are turned on. If they are not, this later results in a
> {{ClassCastException}} inside the consumer.
> Additionally the serializer uses {{updateRequest.getDocuments()}} to
> serialize documents, discarding optional per-document parameters
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]