]> git.openstreetmap.org Git - nominatim.git/commit
remove penalty for full words in address
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 26 Jun 2021 09:20:25 +0000 (11:20 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 26 Jun 2021 09:37:15 +0000 (11:37 +0200)
commit63755c31ff07ce193cb0bb4f7af20a46fdfc363a
tree3c367c7f8a3cd83c45ba241c76725979385f5352
parent161f5f5cee9be820d59cf7dcc500c8074b42ed83
remove penalty for full words in address

Now that mutli-word partials no longer exist, multi-word full
words need to be used to search in addresses and therefore no
longer should have a penalty.

Also changes the condition when a full word is included into
the address. It is no longer relevant if an equivalent partial
exists but only if the term consists of more than one word.
lib-php/Geocode.php
lib-php/SearchDescription.php