]> git.openstreetmap.org Git - nominatim.git/commit
prefilter bad results before adding details and reranking
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 6 Feb 2024 19:29:48 +0000 (20:29 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 6 Feb 2024 19:29:48 +0000 (20:29 +0100)
commit4ce13f5c1fa59160a17e7db33805d48ba9a04ef5
treecb8dbf121c7f3e00c31232f30193a8eab343959b
parent2833362cf652997cade8875a673ca8a239ce16a8
prefilter bad results before adding details and reranking

Move the first cutting of the result list before reranking
by result match. This means that results with significantly
less importance are removed early and independently of the
fact how well they match the original query.

Fixes #3266.
nominatim/api/search/geocoder.py