]> git.openstreetmap.org Git - nominatim.git/commit
fix use of term count in partial terms
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 1 Dec 2020 16:21:01 +0000 (17:21 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 1 Dec 2020 16:21:01 +0000 (17:21 +0100)
commitdf12954312c2f55a072bde265afa84e696e93606
tree053a902e1d86ffa4b1204371e2c929389a01f458
parenta9357b4dce19f21885992820235ec999a818679d
fix use of term count in partial terms

Term count for partial words is one less than the actual number
of words. Take that into account when adding to the search rank.

Fixes #2081.
lib/SearchDescription.php