]> git.openstreetmap.org Git - nominatim.git/commitdiff
is_indexed no longer exists
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 7 Nov 2024 08:16:34 +0000 (09:16 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 7 Nov 2024 08:16:34 +0000 (09:16 +0100)
src/nominatim_api/search/db_search_builder.py

index b4346ee61acf1ef79b037fc8c20e54e0150e52fe..0d7487a4c04fac42a0248ab97acacaf2e11c02e0 100644 (file)
@@ -280,7 +280,7 @@ class SearchBuilder:
         # This might yield wrong results, nothing we can do about that.
         if use_lookup:
             addr_restrict_tokens = []
-            addr_lookup_tokens = [t.token for t in addr_partials if t.is_indexed]
+            addr_lookup_tokens = [t.token for t in addr_partials]
         else:
             addr_restrict_tokens = [t.token for t in addr_partials]
             addr_lookup_tokens = []