On Sun, Feb 15, 2009 at 10:00 PM, Mark Miller <markrmil...@gmail.com> wrote:
> But if we make it past that line (onlyMorePopular=true), later there is: > > // don't suggest a word for itself, that would be silly > if (sugWord.string.equals(word)) { > continue; > } > > So you end up only getting all of the suggestions *but* Lucene, right? You > had to already know the word was misspelled, and now your asking for a > better one. With the onlyMorePopular=false, you only get a correction if the > word is misspelled. Yes of course, you are right, one would never get Lucene back if onlyMorePopular=true. > > > It seems to me, if you are trying to use the suggested query thats built > up, you change the behavior beyond just: > > > onlyMorePopular=true considers tokens of frequency greater than equal to > frequency of original token. > We definitely need better documentation for this option. -- Regards, Shalin Shekhar Mangar.