-
-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle fuzzy search #85
Comments
https://github.com/BurntSushi/fst/blob/master/fst-levenshtein/src/lib.rs has the fst code. @fulmicoton would this be a collector? |
No, probably a query... We want something that intersects the term dictionary with the levenshtein automaton like what you see in BurntSushi code. Maybe we should just pre-compute the full docset of documents that match the fuzzy query, and then have the scorer iterate over those, I am unsure. |
Is this feature officially out of scope ? |
No. It is not out of scope. It will happen eventually. If you want fuzzy search on one term, the FuzzyTermQuery does it. |
Dupe or at least related: #563 |
Handle matching with a given levenshtein distance of at most k.
k should be a function of the length of the query though.
It might be nice to contribute to the fst crate with the original implementation of levenshtein automaton.
The text was updated successfully, but these errors were encountered: