摘要: http://localhost:1985/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on&wt=json solr的http请求后加一个wt参数 返回则是text/plain的json字符串。如下图所示:默认的是返回xml数据,将以上请求参数的wt去掉或者wt=xml,即可得xml数据,请求如:http://localhost:1985/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on 阅读全文
posted @ 2013-01-07 09:33 李克华 阅读(2469) 评论(0) 推荐(0)