]> git.openstreetmap.org Git - nominatim.git/commit
filter postcodes by search rank when adding to address list
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 25 Nov 2020 19:33:15 +0000 (20:33 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 25 Nov 2020 20:01:33 +0000 (21:01 +0100)
commitcc1af99dbd1b1e28cc9f8da92914cba237de5d31
tree150436816ff437614df72e62814e469aa4fd5554
parentc5d98effc0f5fcd8d154b0a3ba3fccd374445685
filter postcodes by search rank when adding to address list

The post codes are the last part that does not fit the new
address ranking scheme. In particular, the search rank is still
relevant for choosing if a postcode should be included into
the address terms. Filter out irrelevant postcodes in
getNearFeatures() already, to avoid having to check for
geometry relation.
sql/partition-functions.src.sql