QuerySolr – a jQuery Solr library
Today I released QuerySolr. It is a small jQuery library for easily sending Ajax Solr requests.
A Solr query using QuerySolr looks like this:
$.querysolr({ host: "127.0.0.1", port: "8983", params: { q: "*:*", fq: "type:car" }, callback: function(data) { // do something with the returned Solr JSON results } }).query(); // and finally send the request.
The code (qUnit tested) is dual licensed (MIT/GPL) and available at the QuerySolr GitHub repository. For further documentation please have a look there.