dsmiley commented on code in PR #2764:
URL: https://github.com/apache/solr/pull/2764#discussion_r1802088278


##########
solr/core/src/java/org/apache/solr/handler/designer/SchemaDesignerConfigSetHelper.java:
##########
@@ -533,11 +516,31 @@ List<SolrInputDocument> getStoredSampleDocs(final String 
configSet) throws IOExc
           collectionApiEndpoint(BLOB_STORE_ID, "blob", configSet + "_sample")
               .setParameter(CommonParams.WT, "filestream")
               .build();
+
     } catch (URISyntaxException e) {
       throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, e);
     }
+    final var params = new ModifiableSolrParams();
+    var request =
+        new GenericSolrRequest(SolrRequest.METHOD.GET, "/blob/" + configSet + 
"_sample", params);
+    request.setRequiresCollection(true);
+    request.setResponseParser(new InputStreamResponseParser("filestream"));

Review Comment:
   why set the response parser here?



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