FuzzyQuery
has been significantly changed in Lucene version 4. The number there after the '~' is a maximum edit distance, not a minimum similarity. I'm not really clear on how FuzzyMinSim
is mapped to a maximum edit distance, as when the StandardQueryParser
generates a FuzzyQuery
. Note that using DefaultFuzzyMinSim in 4.x is deprecated.
An edit distance of 2 is the default maximum, and edit distances greater than 2 are not supported by the FuzzyQuery
class, and thus are not supported by the standard query parser.