Files
Nominatim/nominatim/api
Sarah Hoffmann fd26310d6a rerank results by query
The algorithm is similar to the PHP reranking and uses the terms from
the display name to check against the query terms. However instead of
exact matching it uses a per-word-edit-distance, so that it is less
strict when it comes to mismatching accents or other one letter
differences.

Country names get a higher penalty because they don't receive a
penalty during token matching right now.

This will work badly with the legacy tokenizer. Given that it is
marked for removal, it is simply not worth optimising for it.
2023-09-20 14:52:05 +02:00
..
2023-09-20 14:52:05 +02:00
2023-07-25 21:39:23 +02:00
2023-07-22 13:54:23 +02:00
2023-09-06 10:27:03 +02:00
2023-01-30 09:36:17 +01:00