Improve fuzzy search
baffioso opened this issue · comments
Searching for hold-an vej in Ballerup with lower case, but getting these results.
I need to start typing ballerup in order to get useful result.
This might be an issue in https://github.com/SDFIdk/gsearch
Gsearch has phonetic search, ignores symbols and is case-insensitive.
So you will get the same result with Hol An Vej
as your search query. This is why you see HOLstebro
results with an
and vej
in the names. Because the results in endpoint husnummer
is sorted by husnummertekst
as the first criteria then you are seeing the number 1s roadnames as the first results.
Closed because it is a duplicate of #28