-
Notifications
You must be signed in to change notification settings - Fork 50
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
Results vary on repeated calls for same query string [ClosestN] #5
Comments
Ok -I went through the code and it uses goroutines to match. However, this seems faulty as shouldn't the ranking be stable?
Those aren't the 'best' ranked matches.. - if you see the second and third result. |
@raghur Can you explain what your file logs are for? What is the search list and what is your query? |
I'm trying to build an interactive fuzzy file filtering routine to filter file names under a directory as the user types. In the client logs above, 'com' is the query.. the search list of files is a fixed list of 1000 files that I'm using as a test corpus. |
I'm getting the same problem in |
So I'm trying out your lib for building a fuzzy file matcher... input is 1000 filenames... I built a small python client that calls the server. The first time, the server builds the closestmatch.ClosestMatch structure and reuses it for subsequent calls. Interestingly, when I type in the same query, each time I'm getting 10 different results. Is this how its supposed to work?
Here's the server log:
Here's the client logs:
Sources and data are here - https://github.com/raghur/fuzzy-denite/tree/closestmatch/scratch
The text was updated successfully, but these errors were encountered: