Re: Solr autocompletion in rails

2009-05-07 Thread Matt Weber
First, your solrconfig.xml should have the something similar to the following: class="org.apache.solr.handler.component.TermsComponent"/> class="org.apache.solr.handler.component.SearchHandler"> termsComp This will give you a request handler called "/autoSuggest" that

Re: Solr autocompletion in rails

2009-05-07 Thread manisha_5
Thanks a lot for the information. But I am still a bit confused about the use of TermsComponents. Like where are we exactly going to put these codes in Solr.For example I changed schema.xml to add autocomplete feauture.I read your blog too, its very helpful.But still a little confused. :-(( Can yo

Re: Solr autocompletion in rails

2009-05-04 Thread Matt Weber
You will probably want to use the new TermsComponent in Solr 1.4. See http://wiki.apache.org/solr/TermsComponent . I just recently wrote a blog post about using autocompletion with TermsComponent, a servlet, and jQuery. You can probably follow these instructions, but instead of writing a se