Open FreddieChopin opened 4 years ago
I am not sure if there is use of the common search algorithm in the import matching process, but there are issues in the common search missing hits, see ex #3679.
This search should be using fuzzy matching
On Sat., 6 Jun. 2020, 4:52 am Marc dM, notifications@github.com wrote:
I am not sure if there is use of the common search algorithm in the import matching process, but there are issues in the common search missing hits, see ex #3679 https://github.com/theCrag/website/issues/3679.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/theCrag/website/issues/3697#issuecomment-639710542, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC3CQULNMJYZOMRTANYCOLRVE5FXANCNFSM4NUC6PJA .
@nicHoch was there anything changed since this was reported?
Please note that since the report I've made some changes to the data on theCrag, so the original example may no longer show the problem. Most importantly I've added the shorter name "Atak glonów" as the AKA (or some other type) to the proper route.
What happened?
Try to import this CSV file:
There are two "problems" with this entry, in my opinion both are very minor:
The problem with the importer here is that instead of suggesting "Atak glonów - epizod I" on "Jastrzębnik" sector in "Podlesice" crag for this "Atak glonów" route on "Jastrzębnik" crag it suggests some totally crazy routes which are hundred kilometers away in completely different parts of Poland (; It suggests "Atak gibbonów" in Szklarska Poręba or "Atak gibbonów" in "Góry Izerskie".
If I now select "none" and enter "Atak glonów" into the search field (so exactly the same as the line from CSV file), then the correct route is the first entry found, the second one is the extension, only the third and fourth are "Atak gibbonów", which the importer suggested previously.
What you expected:
I would expect that the algorithm behind the importer would at least consider "Atak glonów - epizod I" as one of possible matches to "Atak glonów", if not the best one.