tohidemyname opened a new issue, #941:
URL: https://github.com/apache/lucenenet/issues/941
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
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.
### Expected Behavior
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.
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### Lucene.NET Version
_No response_
### .NET Version
_No response_
### Operating System
_No response_
### Anything else?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]