I've used the YUI auto complete (albeit not with Solr which shouldn't matter
here) and it should work with JSON. I did one that simply made XHR calls
over to a method on my server which returned pipe delimited text which
worked fine.

Are you using the XHR Data source and if so, what type are you telling it to
expect. One of the examples on the YUI site is text based and i'm sure you
can specify TYPE_JSON or JS_ARRAY too.

- Amit

On Fri, Oct 30, 2009 at 7:04 AM, Ankit Bhatnagar <abhatna...@vantage.com>wrote:

>
> Does Solr supports JSONP (JSON with Padding) in the response?
>
> -Ankit
>
>
>
> -----Original Message-----
> From: Ankit Bhatnagar [mailto:abhatna...@vantage.com]
> Sent: Friday, October 30, 2009 10:27 AM
> To: 'solr-user@lucene.apache.org'
> Subject: Solr YUI autocomplete
>
> Hi Guys,
>
> I have question regarding - how to specify the
>
> I am using YUI autocomplete widget and it expects the JSONP response.
>
>
> http://localhost:8983/solr/select/?q=monitor&version=2.2&start=0&rows=10&indent=on&wt=json&json.wrf=
>
> I am not sure how should I specify the json.wrf=function
>
> Thanks
> Ankit
>

Reply via email to