Opened 9 years ago

Closed 3 years ago

#3733 closed enhancement (fixed)

Substring of name not found - only full version or space separated version

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


If one searches for "John-F.-Kennedy-Institut" in Nominatim, no result is found.

However, searching for "Kennedy Institut" finds:

"John-F.-Kennedy-Institut für Nordamerikastudien, Lansstraße, Dahlem, Steglitz-Zehlendorf, Berlin, Berlin, Stadt, Steglitz-Zehlendorf, Berlin, 14195, Germany (University)" (OSM node)

(The full string also results in the correct result: "John-F.-Kennedy-Institut für Nordamerikastudien".)

Expected also for "John-F.-Kennedy-Institut" the node is found.

Change History (11)

comment:1 Changed 9 years ago by twain

Priority: majorminor
Type: defectenhancement

comment:2 Changed 8 years ago by Tom Hughes

Owner: changed from openstreetmap@… to geocoding@…

comment:3 Changed 8 years ago by Sarah Hoffmann

Single word substrings work fine. Multi-word substrings need to be implemented.

See also #4724.

comment:4 Changed 8 years ago by Sarah Hoffmann

see also #4676

comment:5 Changed 8 years ago by ESYSCODER


comment:6 Changed 7 years ago by il cartolaio

Other examples of commonly used queries in Italy:

Via Colombo, Roma should match Via Cristoforo Colombo, Roma

Viale Porta Ardeatina, Roma should match Viale di Porta Ardeatina, Roma

I think this problem should get more relevance since these are extremely common queries at least in Italy.

comment:7 Changed 7 years ago by jgc

In France also, it is very common to use only the last name when giving street addresses, which makes it difficult to find streets with Nominatim when OSM rightly includes their full name, but the requester doesn't know it. For example :

Rue Gambetta, Toulouse should match Rue Léon Gambetta, Toulouse

Rue Pélissier, Toulouse should match Rue du Lieutenant-Colonel Pélissier, Toulouse

rue Kennedy, Toulouse should match Rue John Fitzgerald Kennedy, Toulouse

(Now that I have found and read this ticket, I know that searching only for the last name, without "Rue", works, but I guess many users would not know.)

I also think that the priority of this enhancement should be raised, as it is likely to very significantly increase the proportion of successful address queries, and hence the perceived relevance of OSM.

comment:8 Changed 6 years ago by Sarah Hoffmann

Commit f03903e/nominatim seems to have improved the situation on partial searches a lot. All the examples given in this ticket are working now. Let me know about examples that are still not working. Also of interest would be searches that give worse results now than before.

comment:9 Changed 6 years ago by saintam1

Here's an example that seems identical in nature to the above French examples by jgc, but does not work:

There's a street in Sofia named after Georgi Sava Rakovski. If you search for it using its full name (ул. Георги Сава Раковски, София, България) it works fine, but if you use his last name only (ул. Раковски, София, България), it doesn't (right now it finds some street in another city, as well as a post office, but not the street we want).

This seems very similar to me to the above example with "rue Kennedy" / "rue John Fitzgerald Kennedy" (which works now).

FWIW abbreviation does work with other nearby streets: you can find ул. Петър Парчевич ("Petar Parchevich Street") by searching for ул. Парчевич, София, България ("Parchevich Street") and you can find ул. Уилям Гладстон ("William Gladstone Street") by searching for ул. Гладстон, София ("Gladstone Street"). So it's not like all Cyrillic names are broken.

comment:11 Changed 3 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Closing here. There are tickets with more specific problem definitions around now.

Note: See TracTickets for help on using tickets.