Okke,

My first guess is that the additional results from the word break spellchecker 
is causing additional per-term results and the correct answer is not making the 
list.  So you might need to increase "spellcheck.count" and/or 
"spellcheck.alternativeTermCount" .

My second guess is that the correct answer is still in the per-term results but 
low enough down now that wordbreak is producing additional results, that the 
correct answer never gets tested as a possible collation.  In this case, if 
you're already getting your maximum collations back, just not the one you 
wanted, then increase "spellcheck.maxCollations".  Otherwise, try increasing 
"spellcheck.maxCollationTries".

If this doesn't help, then go ahead and post the pertinent sections of 
solrconfig.xml, schema.xml, and show what you change when adding wordbreak.  
Then also include before & after query url's with the full spellcheck responses.

James Dyer
Ingram Content Group


-----Original Message-----
From: O. Klein [mailto:kl...@octoweb.nl] 
Sent: Tuesday, February 10, 2015 8:49 AM
To: solr-user@lucene.apache.org
Subject: alternativeTermCount and WordBreakSolrSpellChecker combination not 
working

Because of a lot of misspellings in content I am using alternativeTermCount
and maxResultsForSuggest to get suggestions even if terms are in index.
However when adding wordbreak dictionary the collation that was given before
is now empty.

Is there a way to make this work?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/alternativeTermCount-and-WordBreakSolrSpellChecker-combination-not-working-tp4185352.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to