did you include the jquery lib, make sure you use the jsasoncallback ie $.getJSON( "http://[server]:[port]/solr/select/?jsoncallback=?", {"q": queryString, "version": "2.2", "start": "0", "rows": "10", "indent": "on", "json.wrf": "callbackFunctionToDoSomethingWithOurData", "wt": "json", "fl": "field1"} );
not what you have got On 2 June 2011 13:00, Romi <romijain3...@gmail.com> wrote: > I did this: > > $(document).ready(function(){ > > > $.getJSON("http://[remotehost]:8983/solr/select/?q=diamond&wt=json&json.wrf=?", > function(result){ > > alert("hello" + result.response.docs[0].name); > }); > }); > > > But i am not getting any result, what i did wrong ?? > > ----- > Thanks & Regards > Romi > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-display-search-results-of-solr-in-to-other-application-tp3014101p3014797.html > Sent from the Solr - User mailing list archive at Nabble.com. >