X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/75b2d7ca99dbd13b0e5ff6e9f842c6a82a3abca9..3cdfe066336ad19772d300a85d6c1feaadc074ea:/docs/admin/Migration.md diff --git a/docs/admin/Migration.md b/docs/admin/Migration.md index 21bbb51a..753fb500 100644 --- a/docs/admin/Migration.md +++ b/docs/admin/Migration.md @@ -6,7 +6,29 @@ to newer versions of Nominatim. SQL statements should be executed from the PostgreSQL commandline. Execute `psql nominatim` to enter command line mode. -## 3.5.0 -> master +## 3.6.0 -> master + +### Introducing `nominatim` command line tool + +The various php utilities have been replaced with a single `nominatim` +command line tool. Make sure to adapt any scripts. There is no direct 1:1 +matching between the old utilities and the commands of nominatim CLI. The +following list gives you a list of nominatim sub-commands that contain +functionality of each script: + +* ./utils/setup.php: `import`, `freeze`, `refresh` +* ./utils/update.php: `replication`, `add-data`, `index`, `refresh` +* ./utils/specialphrases.php: `special-phrases` +* ./utils/check_import_finished.php: `check-database` +* ./utils/warm.php: `warm` +* ./utils/export.php: `export` + +Try `nominatim --help` for more information about each subcommand. + +`./utils/query.php` no longer exists in its old form. `nominatim search` +provides a replacement. + +## 3.5.0 -> 3.6.0 ### Change of layout of search_name_* tables