forked from hans/Nominatim
Merge pull request #3774 from lonvia/remove-postcodes-from-nameaddressvector
Do not add postcodes from postcode boundaries to address vector
This commit is contained in:
@@ -638,8 +638,10 @@ BEGIN
|
|||||||
|
|
||||||
-- Add it to the list of search terms
|
-- Add it to the list of search terms
|
||||||
{% if not db.reverse_only %}
|
{% if not db.reverse_only %}
|
||||||
nameaddress_vector := array_merge(nameaddress_vector,
|
IF location.rank_address != 11 AND location.rank_address != 5 THEN
|
||||||
location.keywords::integer[]);
|
nameaddress_vector := array_merge(nameaddress_vector,
|
||||||
|
location.keywords::integer[]);
|
||||||
|
END IF;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
INSERT INTO place_addressline (place_id, address_place_id, fromarea,
|
INSERT INTO place_addressline (place_id, address_place_id, fromarea,
|
||||||
|
|||||||
Reference in New Issue
Block a user