AJAX Solr does more or less the following:
jQuery.getJSON('http://localhost:8983/solr/select/?q=*:*&wt=json&json.wrf=?',
{}, function (data) {
// do something with data, which is the eval'd JSON response
});
--
View this message in context:
http://old.nabble.com/Getting-solr-response-data-in-a-
I remember having a difficult time getting jquery to work as I thought it
would. Something to do with the wt. I ended up creating a little client lib.
Maybe this will be useful in finding your problem?
example:
http://github.com/mwmitchell/get_rest/blob/master/solr_example.html
lib:
http://git
You might be running into an Ajax restriction.
See if an article like this helps.
http://www.nathanm.com/ajax-bypassing-xmlhttprequest-cross-domain-restriction/
On 1/9/10 11:37 PM, "Otis Gospodnetic" wrote:
Dan,
You didn't mention whether you tried &wt=json . Does it work if you use that
Dan,
You didn't mention whether you tried &wt=json . Does it work if you use that
to tell Solr to return its response in JSON format?
Otis
--
Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch
- Original Message
> From: Dan Yamins
> To: solr-user@lucene.apache.org
> Sent: S