Opened 6 years ago

Closed 5 years ago

#5010 closed defect (duplicate)

give cities a higher priority over higher admin entities in search

Reported by: dieterdreist Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: Cc:

Description

E.g. if you search for "Olgastr. 4, Tübingen" you do not get the Olgastr. in Tübingen but the first hits are other Olgastr. in other towns, because there is also a Regierungsbezirk named "Tübingen" (admin_level 5 I think). If you enter only a street and another word, it should be asumed that this other word is a city/town.

Change History (1)

comment:1 Changed 5 years ago by Sarah Hoffmann

Resolution: duplicate
Status: newclosed

We don't really store the type of the address parts for searching, so we cannot make assumptions like that.

There are a few heuristics in place to get that sorted out via reranking after the lookup (you'll see it works ok for "Olgastr, Tübingen"). The problem here is the same as in #5052, there are too many objects that match 'Olgastr, Tübingen', so search stops before the right one is found (the one where house number 4 belongs to) and the reranking never kicks in.

Closing in favour of #5025.

Note: See TracTickets for help on using tickets.