There is still a functionality gap in Solr's spellchecker even with Solr-2010 
applied.  If a user enters a word that is in the dictionary, solr will never 
try to correct it.  The only way around this is to use 
spellcheck.onlyMorePopular.  The problem with this approach is 
"onlyMorePopular" causes the spellchecker to assume *every* word in the query 
is a misspelling and it won't even consider the original terms in building 
collations.  What is needed is a hybrid option that will try to build 
collations using combinations of original terms, corrected terms and "more 
popular" terms.  To my knowledge, there is no way to get the spellchecker to do 
that currently.

On the other hand, if you're pretty sure "man" is not in the dictionary, try 
upping spellcheck.count to something higher than the default (20 maybe?)...

James Dyer
E-Commerce Systems
Ingram Content Group
(615) 213-4311


-----Original Message-----
From: roySolr [mailto:royrutten1...@gmail.com] 
Sent: Thursday, May 05, 2011 3:24 AM
To: solr-user@lucene.apache.org
Subject: Re: Patch problems solr 1.4 - solr-2010

Hello,

thanks for the answers, i use branch 1.4 and i have succesfully patch
solr-2010.

Now i want to use the collate spellchecking. How does my url look like. I
tried this but
it's not working(It's the same as solr without solr-2010).

http://localhost:8983/solr/select?q=man unitet&spellcheck.q=man
unitet&spellcheck=true&spellcheck.build=true&spellcheck.collate=true&spellcheck.collateExtendedResult=true&spellcheck.maxCollations=10&spellcheck.maxCollationTries=10

I get the collapse "man united" as suggestion. Man is good spelled, but not
in this phrase. It must
be "manchester united" and i want that solr requerying the collapse and only
give the suggestion
if it gives some results. How can i fix this??

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Patch-problems-solr-1-4-solr-2010-tp2898443p2902546.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to