]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/clicmd/setup.py
Merge pull request #2312 from lonvia/icu-tokenizer
[nominatim.git] / nominatim / clicmd / setup.py
index 1ce9cf3e0039642641c0c8ead82f52ca9b2b7d2c..eb0178a9f560f563a867488b5e608e67a0c024ad 100644 (file)
@@ -133,7 +133,9 @@ class SetupAll:
             database_import.create_search_indices(conn, args.config,
                                                   drop=args.no_updates)
             LOG.warning('Create search index for default country names.')
-            database_import.create_country_names(conn, args.config)
+            database_import.create_country_names(conn, tokenizer,
+                                                 args.config.LANGUAGES)
+        tokenizer.finalize_import(args.config)
 
         webdir = args.project_dir / 'website'
         LOG.warning('Setup website at %s', webdir)