]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-sql/tokenizer/legacy_tokenizer_indices.sql
Merge pull request #2486 from lonvia/fix-special-phrases
[nominatim.git] / lib-sql / tokenizer / legacy_tokenizer_indices.sql
index 44a2909c108a76d321a47bbc9e46626f1a5b657e..d653a26dfa84c356996cd9adbf051e1d99b1f07a 100644 (file)
@@ -1,2 +1,3 @@
-CREATE INDEX {{sql.if_index_not_exists}} idx_word_word_id
+-- Required for details lookup.
+CREATE INDEX IF NOT EXISTS idx_word_word_id
   ON word USING BTREE (word_id) {{db.tablespace.search_index}};