SDFIdk / gsearch

MIT License
5 stars 0 forks source link

Improve fuzzy search #178

Closed baffioso closed 1 year ago

baffioso commented 1 year ago

Searching for hold-an vej in Ballerup with lower case, but getting these results.
image

I need to start typing ballerup in order to get useful result. image

This might be an issue in https://github.com/SDFIdk/gsearch

JesperKock commented 1 year ago

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 https://github.com/SDFIdk/gsearch/issues/28