Re: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-13 Thread O. Klein
I am using the default on single node, which is frequency. On the Wiki it says: In case of a distributed request to the SpellCheckComponent, the shards are requested for at least five suggestions even if the spellcheck.count parameter value is less than five. Once the suggestions are collected, th

Re: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-13 Thread Nitin Solanki
Hi O. Klein, How you sorted the suggestion on frequency? I think, You used freq to sort suggestions of frequency. Are you using sharding/multiple servers in Solr because on single node, comparatorClass is working but on multiple servers, it is not working. Please assist me how to

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-13 Thread iNikkz
Hi O. Klein, How you sorted the suggestion on frequency? I think, You used freq to sort suggestions of frequency. Are you using sharding/multiple servers in Solr because on single node, comparatorClass is working but on multiple servers, it is not working. Please assist me how t

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-10 Thread Dyer, James
: O. Klein [mailto:kl...@octoweb.nl] Sent: Tuesday, February 10, 2015 3:25 PM To: solr-user@lucene.apache.org Subject: RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working Yeah that should work. Is this something you will change in the code? -- View this message

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-10 Thread O. Klein
Yeah that should work. Is this something you will change in the code? -- View this message in context: http://lucene.472066.n3.nabble.com/alternativeTermCount-and-WordBreakSolrSpellChecker-combination-not-working-tp4185352p4185489.html Sent from the Solr - User mailing list archive at Nabble.co

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-10 Thread Dyer, James
ruary 10, 2015 1:27 PM To: solr-user@lucene.apache.org Subject: RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working I did some testing and the order of dictionaries doesn't seem to have an effect. They are sorted by frequency. So if mm was applied "holy woo

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-10 Thread O. Klein
I did some testing and the order of dictionaries doesn't seem to have an effect. They are sorted by frequency. So if mm was applied "holy wood" would have a lower frequency and solve this problem. "suggestions":[ "holywood",{ "numFound":4, "startOffset":0, "endOffse

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-10 Thread Dyer, James
as testing the possibilities is expensive. James Dyer Ingram Content Group -Original Message- From: O. Klein [mailto:kl...@octoweb.nl] Sent: Tuesday, February 10, 2015 11:55 AM To: solr-user@lucene.apache.org Subject: RE: alternativeTermCount and WordBreakSolrSpellChecker combination not wor

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-10 Thread O. Klein
James, That is very useful information. I tested it and can confirm that disabling spellcheck in warmer solves core reload problem. Now with my use case I'm not trying to spellcheck and correct a whitespace. If "holy wood" was queried with a mm of 100% it would have fewer hits then hollywood and

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-10 Thread Dyer, James
rves no purpose but to make searchers take longer to open. James Dyer Ingram Content Group -Original Message- From: O. Klein [mailto:kl...@octoweb.nl] Sent: Tuesday, February 10, 2015 9:51 AM To: solr-user@lucene.apache.org Subject: RE: alternativeTermCount and WordBreakSolrSpellChe

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-10 Thread O. Klein
Thank you for that answer James. Increasing spellcheck.count did the trick. Funny result for query "holywood" the suggestion is "holy wood" instead of "hollywood". Eventhough I have a mm of 100%. Any way to fix that? BTW when using maxCollationTries Solr hangs on core reload. Apparantly an old

RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working

2015-02-10 Thread Dyer, James
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 co