]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-sql/functions/importance.sql
Merge pull request #3350 from lonvia/improve-postcode-handling
[nominatim.git] / lib-sql / functions / importance.sql
index 6c089d824b99565a72ad9de6202c5fd1f6ae5b2b..9b2fb7737ff20f8724f5003aba13da14ab42cab8 100644 (file)
@@ -130,7 +130,7 @@ BEGIN
 
   -- Still nothing? Fall back to a default.
   IF result.importance is null THEN
-    result.importance := 0.75001 - (rank_search::float / 40);
+    result.importance := 0.40001 - (rank_search::float / 75);
   END IF;
 
 {% if 'secondary_importance' in db.tables %}