]> git.openstreetmap.org Git - nominatim.git/commit
move linking of places to the preparation stage
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 20 Aug 2021 19:53:13 +0000 (21:53 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 20 Aug 2021 20:44:17 +0000 (22:44 +0200)
commit28ee3d0949a749fab1a08000b899e232c6a8c29e
treebe176c3f6eb392f44051087cac9209c22e2f3464
parent925195725dfcb7f1a6795c50244c1df6cb7242ce
move linking of places to the preparation stage

Linked places may bring in extra names. These names need to be
processed by the tokenizer. That means that the linking needs
to be done before the data is handed to the tokenizer. Move finding
the linked place into the preparation stage and update the name
fields. Everything else is still done in the indexing stage.
lib-sql/functions/placex_triggers.sql
nominatim/indexer/runners.py
test/bdd/db/query/linking.feature [new file with mode: 0644]
test/python/test_indexing.py