Nominatim/test/bdd/db/import
Sarah Hoffmann bd7c7ddad0 icu tokenizer: switch to matching against partial names
When matching address parts from addr:* tags against place names,
the address names where so far converted to full names and compared
those to the place names. This can become problematic with the new
ICU tokenizer once we introduce creation of different variants
depending on the place name context. It wouldn't be clear which
variant to produce to get a match, so we would have to create all of
them. To work around this issue, switch to using the partial terms
for matching. This introduces a larger fuzziness between matches but
that shouldn't be a problem because matching is always geographically
restricted.

The search terms created for address parts have a different problem:
they are already created before we even know if they are going to be
used. This can lead to spurious entries in the word table, which slows
down searching. This problem can also be circumvented by using only
partial terms for the search terms. In terms of searching that means
that the address terms would not get the full-word boost, but given
that the case where an address part does not exist as an OSM object
should be the exception, this is likely acceptable.
2021-09-27 11:36:19 +02:00
..
addressing.feature fix dynamic assignment of address parts 2021-09-19 12:34:39 +02:00
country.feature switch BDD tests to always use search API 2021-06-06 15:27:52 +02:00
interpolation.feature switch BDD tests to always use search API 2021-06-06 15:27:52 +02:00
linking.feature switch BDD tests to always use search API 2021-06-06 15:27:52 +02:00
naming.feature add tests for different scripts 2021-04-26 23:01:06 +02:00
parenting.feature switch BDD tests to always use search API 2021-06-06 15:27:52 +02:00
placex.feature search rank 30 must always go with address rank 30 2020-11-24 17:57:28 +01:00
postcodes.feature bdd tests: do not query word table directly 2021-07-28 11:31:47 +02:00
rank_computation.feature bdd tests: fix place dependen ranking tests 2021-04-22 17:31:00 +02:00
search_name.feature icu tokenizer: switch to matching against partial names 2021-09-27 11:36:19 +02:00