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-
text -- http://sematext.com/ -- Solr - Lucene - Nutch
>
>
>
> - Original Message
> > From: Dan Yamins
> > To: solr-user@lucene.apache.org
> > Sent: Sat, January 9, 2010 10:05:54 PM
> > Subject: Getting solr response data in a JS query
> >
>
ork 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: Sat, January 9, 2010 10:05:54 PM
> Subject: Getting s
ache.org
> Sent: Sat, January 9, 2010 10:05:54 PM
> Subject: Getting solr response data in a JS query
>
> Hi:
>
> I'm trying to use figure out how to get solr responses and use them in my
> website.I'm having some problems figure out how to
>
> 1) My initi
Hi:
I'm trying to use figure out how to get solr responses and use them in my
website.I'm having some problems figure out how to
1) My initial thought is is to use ajax, and insert a line like this in my
script:
data = eval($.get("http://localhost:8983/solr/select/?q=*:*
").responseText