Solr 6 以 xml 或 json 格式提供插件统计信息



我们刚刚将solr版本从4.9更新到6.5,我们正试图以更易于解析的格式获取统计信息。对于 4.9,我们访问插件页面以 xml 格式获取所有统计信息。

localhost:8080/solr/admin/plugins?stats=true 

有没有办法在新版本中实现这一点?

尝试在网址末尾附加 &wt=xml。例如:localhost:8080/solr/admin/plugins?stats=true&wt=xml

更多细节可以在此页面上找到:-https://cwiki.apache.org/confluence/display/solr/Response+Writers

最新更新