]> git.openstreetmap.org Git - nominatim.git/commit
introduce external processing in indexer
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 23 Apr 2021 13:49:38 +0000 (15:49 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Apr 2021 09:30:51 +0000 (11:30 +0200)
commit9397bf54b89c1ae0b41115673d2f38582cd03ed9
treeb79e700295845b1a218da91c9d0005ee678dca43
parentfbbdd31399da42b94188d9d4aa4f084efd4876a4
introduce external processing in indexer

Indexing is now split into three parts: first a preparation step
that collects the necessary information from the database and
returns it to Python. In a second step the data is transformed
within Python as necessary and then returned to the database
through the usual UPDATE which now not only sets the indexed_status
but also other fields. The third step comprises the address
computation which is still done inside the update trigger in
the database.

The second processing step doesn't do anything useful yet.
lib-sql/functions/placex_triggers.sql
nominatim/indexer/indexer.py
nominatim/indexer/runners.py
test/bdd/steps/nominatim_environment.py
test/bdd/steps/steps_db_ops.py
test/python/test_indexing.py