Re: another spellchecker question

2008-04-23 Thread Geoffrey Young
Shalin Shekhar Mangar wrote: Hi Geoffrey, Yes, this is a caveat in the lucene contrib spellchecker which Solr uses. From the lucene spell checker javadocs: * As the Lucene similarity that is used to fetch the most relevant n-grammed terms * is not the same as the edit distance strategy us

Re: another spellchecker question

2008-04-23 Thread Shalin Shekhar Mangar
Hi Geoffrey, Yes, this is a caveat in the lucene contrib spellchecker which Solr uses. >From the lucene spell checker javadocs: * As the Lucene similarity that is used to fetch the most relevant n-grammed terms * is not the same as the edit distance strategy used to calculate the best * matc

another spellchecker question

2008-04-23 Thread Geoffrey Young
hi :) I've noticed that (with solr 1.2) the returned order (as well as the actual matched set) is affected by the number of matches you ask for: q=hanna&suggestionCount=1 "suggestions":["Yanna"] q=hanna&suggestionCount=2 "suggestions":["Manna", "Yanna"] q=hanna&suggestion