[ https://issues.apache.org/jira/browse/SOLR-16933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758241#comment-17758241 ]
ASF subversion and git services commented on SOLR-16933: -------------------------------------------------------- Commit 57acde3752bec704442cd08d54fc516f93ee4169 in solr's branch refs/heads/main from Houston Putman [ https://gitbox.apache.org/repos/asf?p=solr.git;h=57acde3752b ] SOLR-16933: Use JSONMapResponseWriter for CLI errors Related to #1863 > The API Tool throws away the response for Solr Queries > ------------------------------------------------------ > > Key: SOLR-16933 > URL: https://issues.apache.org/jira/browse/SOLR-16933 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCLI > Affects Versions: 9.3 > Reporter: Houston Putman > Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > > When running Solr 9.3 in Docker: > {code:bash} > $ solr api -get http://localhost:8983/solr/test/select > { > "responseHeader":{ > "zkConnected":true, > "status":0, > "QTime":0, > "params":{ > "wt":"javabin", > "version":"2"}}, > "response":[]} > {code} > {code:bash} > $ curl http://localhost:8983/solr/test/select > { > "responseHeader":{ > "zkConnected":true, > "status":0, > "QTime":1, > "params":{ > "version":"2" > } > }, > "response":{ > "numFound":0, > "start":0, > "numFoundExact":true, > "docs":[ ] > } > {code} > When running Solr 9.2 in docker: > {code:bash} > $ solr api -get http://localhost:8983/solr/test/select > { > "responseHeader":{ > "zkConnected":true, > "status":0, > "QTime":7, > "params":{"wt":"json"}}, > "response":{ > "numFound":0, > "start":0, > "numFoundExact":true, > "docs":[]}} > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org