]> git.openstreetmap.org Git - nominatim.git/commit
port index creation to python
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 4 Mar 2021 09:55:24 +0000 (10:55 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 4 Mar 2021 10:11:47 +0000 (11:11 +0100)
commit09f4d767e4498368f798d8c1b579b1bf730f4baf
treea5761e9350352ab602b2f646d80d0294f9f1be86
parenteacabb0e962cf5301c63622204dd8efa0ce0a7ac
port index creation to python

Also switches to jinja-based preprocessing, which allows to
simplify the SQL files. Use 'if not exists' where possible
so that the step can be rerun to fix missing indexes.
12 files changed:
lib-php/admin/setup.php
lib-php/setup/SetupClass.php
lib-sql/indices.sql [new file with mode: 0644]
lib-sql/indices.src.sql [deleted file]
lib-sql/indices_search.src.sql [deleted file]
lib-sql/indices_updates.src.sql [deleted file]
lib-sql/tables.sql
nominatim/clicmd/setup.py
nominatim/clicmd/transition.py
nominatim/db/sql_preprocessor.py
nominatim/tools/database_import.py
test/python/test_cli.py