[ 
https://issues.apache.org/jira/browse/SOLR-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15121668#comment-15121668
 ] 

David Smiley commented on SOLR-8614:
------------------------------------

Should the binary format change (it has in the past), the toggle enables a 
compatibility mode to be use for temporary purposes during an upgrade.  You 
might start an upgrade by first toggling this to XML in the client, then 
upgrade the server, then upgrade the client.  I recall doing this a year and a 
half ago for someone.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to