解决方法:这里写链接内容
$.ajax({
'url': 'http://yoursolrserver.com/solr/select',
'data': {'wt':'json', 'q':'your search goes here'},
'success': function(data) { /* process e.g. data.response.docs... */ },
'dataType': 'jsonp',
'jsonp': 'json.wrf'
});
不知道为什么这样写。
特此记录。