mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 10:27:57 +00:00
fix linting issue
This commit is contained in:
@@ -119,7 +119,8 @@ class LegacyICUTokenizer(AbstractTokenizer):
|
||||
if not conn.table_exists('search_name'):
|
||||
return
|
||||
with conn.cursor(name="hnr_counter") as cur:
|
||||
cur.execute("""SELECT DISTINCT word_id, coalesce(info->>'lookup', word_token) FROM word
|
||||
cur.execute("""SELECT DISTINCT word_id, coalesce(info->>'lookup', word_token)
|
||||
FROM word
|
||||
WHERE type = 'H'
|
||||
AND NOT EXISTS(SELECT * FROM search_name
|
||||
WHERE ARRAY[word.word_id] && name_vector)
|
||||
|
||||
Reference in New Issue
Block a user