]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/api/search/token_assignment.py
update osm2pgsql to 1.11.0
[nominatim.git] / nominatim / api / search / token_assignment.py
index b874dcd761a1a31d127baf9e7e0259af6cacfae9..7a53a20efe35bd80c3f43cc68aeab5e27894983b 100644 (file)
@@ -390,7 +390,7 @@ class _TokenSequence:
                 yield from self._get_assignments_address_backward(base, query)
 
             # variant for special housenumber searches
                 yield from self._get_assignments_address_backward(base, query)
 
             # variant for special housenumber searches
-            if base.housenumber:
+            if base.housenumber and not base.qualifier:
                 yield dataclasses.replace(base, penalty=self.penalty)
 
 
                 yield dataclasses.replace(base, penalty=self.penalty)