I have already imported a full planet DB. I am now trying to refresh my Linux Nominatim installation DB to include wiki data. I have downloaded the correct files and run “nominatim refresh –wiki-data –secondary-importance –importance –verbose”. I know it takes some time to import all the importance data to the DB. Every time I try and do this the refresh sticks at “Update importance values for database”. I don’t know what is going on behind the scenes but it is continuing to stay at this step. Any help here would be greatly appreciated.
Please note that refreshing wikipedia importances is more or less broken in the current release, see https://github.com/osm-search/Nominatim/issues/3755 for details. This will be fixed in the next release coming out soonish.
Yes I am using Nominatim 5.1. It looks like wikimedia_importance IS populated with 18 million rows. But when searching my nominatim UI is till not using the correct importance values. I have confirmed that the wikimedia_importance table is populated correctly. It is just that my installation doesn’t seem to want to use those values.
The documentation isn’t kidding when it says that it may take a very, very long time.
Reimport with importance files in place or wait for the release and then rerun the update. The former is likely faster, even if the release come out tomorrow.