Nominatim/test/php
Sarah Hoffmann 0f87da017f improve handling of multi-word partials in SearchDescription
Multi-word partial terms had an undue advantage over separate partial
terms because they only need to pay the penalty once. This changes
the behaviour by setting the penalty according to the number of
words in the token. This should get rid of search interpretations
with low chance of matching.

This also fixes handling of exact term matching. We now match against
all exact terms of the query, not just a couple of them collected
while building the interpretations.

Also adds a penalty to very short postcodes.
2020-11-25 12:07:04 +01:00
..
fixtures fix AddressDetails->getAddressDetails, add tests 2018-09-20 02:16:01 +02:00
Nominatim improve handling of multi-word partials in SearchDescription 2020-11-25 12:07:04 +01:00
bootstrap.php set exception handler by request format, not always HTML 2018-10-03 22:58:20 +02:00
phpunit.xml remove phpunit config key deprecated since version 3.5 2019-02-09 00:37:11 +01:00