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: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to