lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Claude Dauphin <jc.daup...@gmail.com>
Subject auto-completion with suggester and spellchecking
Date Tue, 24 May 2011 09:45:11 GMT
Hi,
I would like to get  suggestions that correspond  to spelling correction in
case there are typing mistakes in the typed characters. I found a similar
post but with no answer
http://lucene.472066.n3.nabble.com/Solr-suggester-and-spell-checker-td2326907.html


And I have some questions about how to use Solr suggester component for
autocompletion and spellchecking at the same time.

1) Does Solr can use the same spellcheck dictionary (that is based upon the
main index) for autocompletion and spellchecking?

2) In solrconfig.xml, should I configure a "suggest" search Component AND a
"spellcheck" component? OR a single search component would be sufficient?
any example of configuration would be appreciated.

3) Which parameters should be used in the query?
I
The following query:

http://localhost:8983/solr/position/suggest?q=ing&qt=/suggest&onlyMorePopular=true
returns no suggestions in case of typing mistake.

Thank you in advance for yr time

Best wishes


-- 
Jean-Claude Dauphin

jc.dauphin@gmail.com
jc.dauphin@afus.unesco.org

http://kenai.com/projects/j-isis/
http://www.unesco.org/isis/
http://www.unesco.org/idams/
http://www.greenstone.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message