You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shashank Tyagi (JIRA)" <ji...@apache.org> on 2016/02/02 15:30:39 UTC
[jira] [Commented] (SOLR-8614) Add simple
SolrClient.setUseXmlFormat
[ https://issues.apache.org/jira/browse/SOLR-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15128317#comment-15128317 ]
Shashank Tyagi commented on SOLR-8614:
--------------------------------------
Even though if developer sets communication in SolrClient still there is chance to that calling code can send requestwriter in request which might be not necessarily appropriate according to format.
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org