gerlowskija commented on code in PR #975:
URL: https://github.com/apache/solr/pull/975#discussion_r966044159
##########
solr/core/src/java/org/apache/solr/handler/admin/api/SchemaNameAPI.java:
##########
@@ -46,7 +46,7 @@ public SchemaNameAPI(SolrCore solrCore) {
}
@GET
- @Produces("application/json")
+ @Produces({"application/json", "application/xml", "application/javabin"})
Review Comment:
Ah, yeah, this comment got buried but it's been on my list, sorry!
I'm 👍 on Jan's suggestion of `application/vnd.apache.solr.javabin`, I just
need to implement it. This will need changed both here, as well as in SolrJ so
that it knows about the updated media-type value. (There's not much v2 support
in SolrJ, but you can manually construct your own request using the `V2Request`
class)
Starting in on that now; will confirm here when that's finished.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]