lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romi <romijain3...@gmail.com>
Subject Re: how to request for Json object
Date Thu, 02 Jun 2011 12:38:05 GMT
 $.getJSON("http://192.168.1.9:8983/solr/db/select/?q=diamond&wt=json&json.wrf=?",
function(result){

 alert("hello" + result.response.docs[0].name);
});
});

using this i got the result. But as you can see it is hard coded, i am
passing a query in the url how can i make it as user choice.


-----
Thanks & Regards
Romi
--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-request-for-Json-object-tp3014138p3014928.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message