Opened 7 years ago

Closed 6 years ago

#4572 closed defect (duplicate)

Nominatim should handle hyphenation tolerantly

Reported by: Tordanik Owned by: geocoding@…
Priority: major Milestone:
Component: nominatim Version:
Keywords: Cc:

Description

Nominatim finds a street that has hyphens in its name only if the query uses the same hyphenation.

For example, Nominatim will find the "Donau-Schwaben-Straße" in Passau if the search term is also writen with hyphens:
http://nominatim.openstreetmap.org/search.php?q=Donau-Schwaben-Stra%C3%9Fe%2C+Passau
However, it will not find it if you search for "Donauschwabenstraße" (an entirely plausible spelling if you haven't seen the name in writing before):
http://nominatim.openstreetmap.org/search.php?q=Donauschwabenstraße%2C+Passau

Expected behavior would be that hyphenation, like capitalization, is ignored when deciding whether an element should qualify as a search result.

Change History (1)

comment:1 Changed 6 years ago by Sarah Hoffmann

Resolution: duplicate
Status: newclosed

See #4827 for general handling of composita.

Note: See TracTickets for help on using tickets.