Substring of name not found - only full version or space separated version #3733
Comments
Author: lonvia Single word substrings work fine. Multi-word substrings need to be implemented. See also #4724. |
Author: lonvia see also #4676 |
Author: il cartolaio Other examples of commonly used queries in Italy: [http://nominatim.openstreetmap.org/search.php?q=Via+Colombo%2C+Roma Via Colombo, Roma] should match [http://nominatim.openstreetmap.org/search.php?q=Via+Cristoforo+Colombo%2C+Roma Via Cristoforo Colombo, Roma] [http://nominatim.openstreetmap.org/search.php?q=Viale+Porta+Ardeatina%2C+Roma Viale Porta Ardeatina, Roma] should match [http://nominatim.openstreetmap.org/search.php?q=Viale+di+Porta+Ardeatina%2C+Roma Viale di Porta Ardeatina, Roma] I think this problem should get more relevance since these are extremely common queries at least in Italy. |
Author: 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 : [http://nominatim.openstreetmap.org/search.php?q=Rue+Gambetta%2C+Toulouse Rue Gambetta, Toulouse] should match [http://nominatim.openstreetmap.org/search.php?q=Rue+Lon+Gambetta%2C+Toulouse Rue Lon Gambetta, Toulouse] [http://nominatim.openstreetmap.org/search.php?q=Rue+Plissier%2C+Toulouse Rue Plissier, Toulouse] should match [http://nominatim.openstreetmap.org/search.php?q=rue+Kennedy%2C+Toulouse rue Kennedy, Toulouse] should match [http://nominatim.openstreetmap.org/search.php?q=Rue+John+Fitzgerald+Kennedy%2C+Toulouse 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. |
Author: lonvia Commit [changeset: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. |
Author: saintam1 Here's an example that seems identical in nature to the above French examples by jgc, but does not work: There's [http://www.openstreetmap.org/way/260618020 a street in Sofia named after Georgi Sava Rakovski]. If you search for it using its full name ([http://nominatim.openstreetmap.org/search.php?q=.+++%2C+%2C+ . , , ]) it works fine, but if you use his last name only ([http://nominatim.openstreetmap.org/search.php?q=.+%2C+%2C+ . , , ]), 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 [http://www.openstreetmap.org/way/247583608 . ("Petar Parchevich Street")] by searching for [http://nominatim.openstreetmap.org/search.php?q=.+%2C+%2C+ . , , ("Parchevich Street")] and you can find [http://www.openstreetmap.org/way/230377105 . ("William Gladstone Street")] by searching for [http://nominatim.openstreetmap.org/search.php?q=.+%2C+ . , ("Gladstone Street")]. So it's not like all Cyrillic names are broken. |
Author: lonvia See also #5285 Example: http://nominatim.openstreetmap.org/search?format=xml&q=66%2Cavenue+kennedy+%2CMULHOUSE+France |
Author: lonvia Closing here. There are tickets with more specific problem definitions around now. |
Reporter: ToB
[Submitted to the original trac issue database at 9.48am, Friday, 29th April 2011]
If one searches for "[http://open.mapquestapi.com/nominatim/v1/search.php?q=John-F.-Kennedy-Institut John-F.-Kennedy-Institut]" in Nominatim, no result is found.
However, searching for "[http://open.mapquestapi.com/nominatim/v1/search.php?q=Kennedy+Institut Kennedy Institut]" finds:
"John-F.-Kennedy-Institut fr Nordamerikastudien, Lansstrae, Dahlem, Steglitz-Zehlendorf, Berlin, Berlin, Stadt, Steglitz-Zehlendorf, Berlin, 14195, Germany (University)" ([http://www.openstreetmap.org/browse/node/586337277 OSM node])
(The full string also results in the correct result: "[http://open.mapquestapi.com/nominatim/v1/search.php?q=John-F.-Kennedy-Institut+fr+Nordamerikastudien John-F.-Kennedy-Institut fr Nordamerikastudien]".)
Expected also for "John-F.-Kennedy-Institut" the node is found.
The text was updated successfully, but these errors were encountered: