I've installed Nominatim using this helm chart: https://artifacthub.io/packages/helm/robjuz/nominatim using all the defaults with the full planet file. However, when I try to search for amenities (like pub in New York), it returns nothing. Did I miss something during the setup? My software version is 4.2.3-0, database version is 4.2.3-0. asked 07 Sep '23, 09:39 MattCon edited 07 Sep '23, 09:46 |
One Answer:
Did your installation instructions cover the "special phrases" setup as described in https://nominatim.org/release-docs/develop/customize/Special-Phrases/? If not, you should relay that as a bug report to the maker of the instructions. answered 07 Sep '23, 09:52 Frederik Ramm ♦ |
Are the special phrases take from the file https://nominatim.org/data/wikimedia-importance.sql.gz? If yes, in that case I've disabled to get them and this is the reason why.
No, "special phrases" in Nominatim parlance means that Nominatim even knows what to look for when you type "bar" or "airport" - without the special phrases it will only look for things that have "bar" in their name. -- The importance bit is something else, it helps prioritizing Berlin, Germany over Berlin, Nevada.
I'm confused. It looks like the command nominatim special-phrases --import-from-wiki uses wiki data to create special phrases. Isn't they wiki data coming from Wikimedia-importance.sql.gz? is there another wiki file that I missed?
These two are totally different things. The "wiki" in --import-from-wiki is https://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases which is a list of special search terms maintained by the OSM community, whereas the "Wikimedia-importance" is derived from data maintained by the Wikimedia/Wikipedia community, outside of OSM.
The wikipedia-importance.sql.gz get generated by https://github.com/osm-search/wikipedia-wikidata Like Frederik wrote it's unrelated to special phrases