]> git.openstreetmap.org Git - nominatim.git/commit
correctly handle special term + name combination
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 15 Nov 2022 10:55:40 +0000 (11:55 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 15 Nov 2022 10:55:40 +0000 (11:55 +0100)
commit3059a3da4e7f1a156c4c892f818446f1493e03b5
treeda6c6a65ae3c9600dea1349bb43d32ac95391996
parentf3f542e86454e6f42f7f2c4adf74eabc2d78c011
correctly handle special term + name combination

Special terms with operator name usually appear in combination with the
name. The current penalties only took name + special term into account
not special term + name.

Fixes #2876.
lib-php/TokenSpecialTerm.php