X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c3b318afea1dd2cebf1d46dce781ee545f6698f0..8215748ac04689102fcfb5a014ad30c2a4d8ede0:/src/nominatim_api/search/db_search_builder.py diff --git a/src/nominatim_api/search/db_search_builder.py b/src/nominatim_api/search/db_search_builder.py index b4346ee6..0d7487a4 100644 --- a/src/nominatim_api/search/db_search_builder.py +++ b/src/nominatim_api/search/db_search_builder.py @@ -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 = []