Hello,

I'm trying to build a autocomplete text box. I think that everything is ok
in the schema.xml and the solrconfig.xml side as I have correct responses
through the solr admin page (I got something like that
:http://brainmaths.fr/IMG/response.txt ).

I don't know really javascript and I tried the code given in Solr 1.4 book
page 241. You can see what I did here :
http://brainmaths.fr/IMG/completion.html and have a look to the source code.

The query is correcty sent to solr (I checked the log) but nothing returns
and I have an error on this line :

return $.map(data.response.docs, function(doc) {

The error is : response.docs is null or isn't an object, I don't know how to
fix it. I guess that docs aren't correctly returned.

I need any help any ideas

Thanks in advance

-----
English is not my mother tongue :)
-- 
View this message in context: 
http://old.nabble.com/JQuery-and-autosuggest-tp26130209p26130209.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to