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

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

bq. Almost feels like it should be an env variable so one could do it w/o any 
code changes.

Great idea!

RE leader/replica communication:  Okay; interesting.  I don't recall if the 
upgrade was to use a completely different Solr cluster -- I think so.  That 
would make this feature useful but if the Solr cluster is to be upgraded in a 
rolling fashion in-place, then I can appreciate this toggle may be of no use.  

If it's felt this would be useless due to stability of the binary format then 
we can just close as won't-fix.  I have no strong feelings.  I didn't intend to 
do this work; it was mostly an idea I've had that's appropriate for a "newdev" 
label.

> 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]

Reply via email to