from ..tools import database_import, refresh, postcodes, freeze, country_info
from ..indexer.indexer import Indexer
+ country_info.setup_country_config(args.config)
+
if args.continue_at is None:
files = args.get_osm_file_list()
LOG.warning('Create search index for default country names.')
country_info.create_country_names(conn, tokenizer,
args.config.LANGUAGES)
- conn.commit()
if args.no_updates:
freeze.drop_update_tables(conn)
tokenizer.finalize_import(args.config)