]> git.openstreetmap.org Git - nominatim.git/commit
move houseunumber handling to tokenizer
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 25 Apr 2021 09:47:29 +0000 (11:47 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Apr 2021 09:30:51 +0000 (11:30 +0200)
commitd8ed1bfc601c6eb19b2db50df466654e843f0777
tree52ac56735a8da3eb18d6a513cfc05100893eae10
parentd711f5a81e6d02926cefe5c9c94bcf1d8f375b11
move houseunumber handling to tokenizer

Normalization and token computation are now done in the tokenizer.
The tokenizer keeps a cache to the hundred most used house numbers
to keep the numbers of calls to the database low.
lib-sql/functions/placex_triggers.sql
lib-sql/tokenizer/legacy_tokenizer.sql
nominatim/indexer/indexer.py
nominatim/tokenizer/legacy_tokenizer.py
nominatim/tools/migration.py