[
https://issues.apache.org/jira/browse/SOLR-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15121698#comment-15121698
]
Jan Høydahl commented on SOLR-8614:
-----------------------------------
I also had to make a flag in a customer's application to fallback to xml during
upgrade from 1.4 to 3.x. An env.variable on the client side would have been a
nice solution there for allowing server upgrade without code upgrade on all
clients.
> Add simple SolrClient.setUseXmlFormat
> -------------------------------------
>
> Key: SOLR-8614
> URL: https://issues.apache.org/jira/browse/SOLR-8614
> Project: Solr
> Issue Type: Improvement
> Components: clients - java
> Reporter: David Smiley
> Labels: newdev
>
> It'd be nice if there was a SolrClient one-liner to set all communication
> (req & rsp) to be XML or binary as a toggle, without having to know which
> classes to the parsing/writing as that's really an implementation/internal
> detail. It's nice to make such a flag configurable in the client's software
> to ease upgrades.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]