mlbiscoc commented on code in PR #2734: URL: https://github.com/apache/solr/pull/2734#discussion_r1811173723
########## solr/core/src/java/org/apache/solr/handler/admin/api/CoreReplicationAPI.java: ########## @@ -68,6 +71,45 @@ public FileListResponse fetchFileList( return doFetchFileList(gen); } + @GET + @Path("/files/{filePath}") + @Produces({MediaType.TEXT_PLAIN, BINARY_CONTENT_TYPE_V2}) + public String fetchFile( Review Comment: `String` seems to work fine but if I remember correctly I wasn't sure what was a better return `Object`. There is a higher level `indexFetcher` test that seems to pass just with the string but let me do more digging. -- 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