Hi Romi

As per me, you need to understand how ajax with jquery works .. then go for
json and then jsonp (if you are fetching from different)

query here is dynamic query which you will be trying to hit solr .. (it
could be simple text, or more advanced query string)

http://wiki.apache.org/solr/CommonQueryParameters

Callback is the method name which you will define .. after getting response,
this method will be called (callback mechanism)

using the response from solr (json format), you need to show the response or
analyze the response as per your business need.

Thanks
Naveen


On Fri, Jun 3, 2011 at 12:00 PM, Romi <romijain3...@gmail.com> wrote:

> $.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"}
>       );
>
> would you please explain what are  queryString and "json.wrf":
> "callbackFunctionToDoSomethingWithOurData". and what if i want to change my
> query string each time.
>
> -----
> 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-tp3014101p3018740.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to