]> git.openstreetmap.org Git - nominatim.git/commit
reduce penalty for special searches by name
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 2 Sep 2021 16:13:45 +0000 (18:13 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 3 Sep 2021 06:50:38 +0000 (08:50 +0200)
commit98c2e08add81579abe36519e7bb62077800c6b8a
tree70913e1809a4df2910d39bd5f3c1a5deb1f0a0a0
parent94d3dee3691aa8b4b33aad1b7af045b49c2430f3
reduce penalty for special searches by name

Additional penalty for special terms with operator None
should only go to near searches. To reduce the number
of produced searches, restrict the none operator to
appear only in conjunction with the name.
lib-php/TokenSpecialTerm.php