A user asked for help sending queries to Solr from Javascript.
The team suggested using the JSONP format, as follows:
$.ajax({ type: 'GET', dataType: 'jsonp', data: { 'q': '*:*', 'wt': 'json', }, jsonp: 'json.wrf', url: '/solr/kmterms_dev/select', success: function(msg) { console.log(msg); } }); });
Questions?
Do not hesitate to contact the SearchStax Support Desk.