]> git.openstreetmap.org Git - nominatim.git/commit
boilerplate for PHP code of tokenizer
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 28 Apr 2021 08:59:07 +0000 (10:59 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Apr 2021 09:31:52 +0000 (11:31 +0200)
commit3eb4d8805700ba12bd601e552c3bc48064423083
tree12a4f6913c96ac8bf00cbc4cfd99e94f0b0dab46
parent23fd1d032a96ee0821a103493d1a5d41a03546cb
boilerplate for PHP code of tokenizer

This adds an installation step for PHP code for the tokenizer. The
PHP code is split in two parts. The updateable code is found in
lib-php. The tokenizer installs an additional script in the
project directory which then includes the code from lib-php and
defines all settings that are static to the database. The website
code then always includes the PHP from the project directory.
lib-php/Geocode.php
lib-php/admin/query.php
lib-php/admin/warm.php
lib-php/tokenizer/legacy_tokenizer.php [new file with mode: 0644]
nominatim/tokenizer/factory.py
nominatim/tokenizer/legacy_tokenizer.py
nominatim/tools/refresh.py
test/bdd/steps/nominatim_environment.py
test/python/dummy_tokenizer.py
test/python/test_tokenizer_legacy.py
test/python/test_tools_refresh_setup_website.py