Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
New
Description
When using FuzzyQuery the search string `bba` does not match doc value `bbab` with an edit distance of 1 and prefix length of 3.
In FuzzyQuery an automaton is created for the "suffix" part of the search string which in this case is an empty string.
In this scenario maybe the FuzzyQuery should rewrite to a WildcardQuery of the following form :
searchString + "?"
.. where there's an appropriate number of ? characters according to the edit distance.
Attachments
Issue Links
- links to