You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Romi <ro...@gmail.com> on 2011/06/18 09:55:53 UTC

How do i use solr spellchecker in my search application

Hi, I want to implement spellchecker in my search application using solr. i
did required changes in solr-config.xml file. and run the url 
http://localhost:8983/solr/spell?q=hell
ultrashar&spellcheck=true&spellcheck.collate=true&spellcheck.build=true
 as given in http://wiki.apache.org/solr/SpellCheckComponent.

But i am really confused why i need to give "q" queryparameter here. as i
suppose this url is used to index according to spellchecker.

nayhow i got the spleechecker indexes throuth it. but while i search i dont
get the result. for example here in the urel q=hell which is actually dell
in index. but when i search for hell i dont get the answer. while when i run
the url i got suggestion dell for hell. 

for searching i use the url  
http://localhost:8983/solr/select/?q=hell&version=2.2&start=0&rows=10&indent=on

Do i need to change the url??

Please explain me

-----
Thanks & Regards
Romi
--
View this message in context: http://lucene.472066.n3.nabble.com/How-do-i-use-solr-spellchecker-in-my-search-application-tp3079090p3079090.html
Sent from the Solr - User mailing list archive at Nabble.com.