solr

jqueryで別ドメインのsolrに問い合わせした結果を得る

$.ajax({ url: 'http://otherhost:8983/solr/collection1/select/', dataType: "jsonp", jsonp: 'json.wrf', data:{ 'wt':'json', 'json.wrf': 'jsoncallback', 'q': '*:*' }, success:function(json){ // ここでもらったJSONをごにょごにょする }, error:fu…