apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.68k stars 1.04k forks source link

Spell checker puts a hard 3-letter limit on indexed words which affects suggestions [LUCENE-5707] #6769

Open asfimport opened 10 years ago

asfimport commented 10 years ago

SVN r1055285 (committed for LUCENE-2391) introduced a hard limit on the minimum length required before including a word in the spell checker. This not only shows all 2-letter words as misspelled/not existing (unless the caller agrees that 2-letter words should not be checked for spelling) but 2-letter suggestions will never show up in a call to suggestSimilar(). It would be nice to have this limit reduced or, ideally, not hard-coded.

an.png


Migrated from LUCENE-5707 by Scott Van Wart Environment:

Windows 7 / IntelliJ IDEA

Attachments: an.png

asfimport commented 10 years ago

Scott Van Wart (migrated from JIRA)

Maybe I meant to type "an".