]> git.openstreetmap.org Git - nominatim.git/commit
reorganise token reranking
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 11 Apr 2025 11:38:34 +0000 (13:38 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 11 Apr 2025 11:38:34 +0000 (13:38 +0200)
commit2ef0e20a3f90e92d2aa926623fe012c8a708271a
tree1493354a3c3b5101c597b7848869b4e5f038cf58
parentb680d81f0a84277abc5985a1692e020fef33af1b
reorganise token reranking

As the reranking is about changing penalties in presence of other
tokens, change the datastructure to have the other tokens readily
avilable.
src/nominatim_api/search/icu_tokenizer.py
src/nominatim_api/search/query.py