Sarah Hoffmann
f1fbc04f33
harmonize use of callback with set_entrance_filter
...
All other functions except a simple function, so do this here as well.
2025-10-28 14:33:45 +01:00
Sarah Hoffmann
353c985b9f
Merge pull request #3859 from lonvia/fix-entrance-addresses
...
Move entrances to a separate table
2025-10-24 13:38:21 +02:00
Sarah Hoffmann
2dda9079f0
add BDD tests for importing into the new place_entrance table
2025-10-24 10:52:25 +02:00
Sarah Hoffmann
4c91a0bc8d
fix syntax in presets
2025-10-24 09:43:06 +02:00
Sarah Hoffmann
31c8ec6db0
add documentation for entrance table configuration
2025-10-23 20:53:59 +02:00
Sarah Hoffmann
e2330ff4c1
add migration for separate entrance table
2025-10-23 17:25:20 +02:00
Sarah Hoffmann
589825d37e
adapt tests for extra place_entrance table
2025-10-23 17:25:20 +02:00
Sarah Hoffmann
a93113bc44
use extra place_entrance table
2025-10-23 17:25:20 +02:00
Sarah Hoffmann
b042eca382
move entrances into extra table
2025-10-23 17:25:20 +02:00
Sarah Hoffmann
d202a8f7d8
Merge pull request #3857 from lonvia/leisure-garden
...
Be more conservative when including leisure=garden/commons
2025-10-22 14:03:19 +02:00
Sarah Hoffmann
af6386bd68
move some leisure features into manmade layer
2025-10-22 11:27:25 +02:00
Sarah Hoffmann
862bfdf6fb
correct default values for layer on reverse
2025-10-22 11:27:25 +02:00
Sarah Hoffmann
28029edc8b
exclude unamed gardens and commons
...
These are mostly private gardens and small streches of green
not of interest for a general search.
ddd
2025-10-22 11:26:58 +02:00
Sarah Hoffmann
d6e9196177
Merge pull request #3855 from hasandiwan/master
...
force layer to be address
2025-10-22 11:24:40 +02:00
Hasan Diwan
e0a750e089
force layer to be address
2025-10-22 07:55:10 +00:00
Sarah Hoffmann
93b2a0f194
update CI to test against PostgreSQL 18
2025-10-20 18:50:30 +02:00
Sarah Hoffmann
aa3fce6852
correct default setting for addressdetails parameter in lookup
...
Fixes #3850 .
2025-10-11 09:20:10 +02:00
Sarah Hoffmann
535ffc1e3f
Merge pull request #3840 from lonvia/normalize-penalties
...
Improve termination condition for forward search
2025-09-12 21:59:39 +02:00
Sarah Hoffmann
77ed4635f2
Merge pull request #3836 from Johannes-Andersen/chore/i18NorwegianCountries
...
chore: update no,nb,nn country-names translation
2025-09-12 21:01:03 +02:00
Sarah Hoffmann
7715a9d500
fix new mypy issue
2025-09-12 19:32:49 +02:00
Johannes Andersen
58d570ca8a
chore: update no,nb,nn country-names translation
2025-09-12 18:20:56 +02:00
Sarah Hoffmann
5a8aa6cce4
adapt tests to new penalties
2025-09-12 17:45:22 +02:00
Sarah Hoffmann
72592da0cc
reduce penalty for artificial housenumbers
2025-09-12 17:44:54 +02:00
Sarah Hoffmann
193d6c4173
in-word penalty for final address token
2025-09-12 12:05:29 +02:00
Sarah Hoffmann
4fd881bcb2
housenumber and postcode cross penalties for partials
2025-09-12 11:50:01 +02:00
Sarah Hoffmann
54620f9566
base penalty for housenumber searches on similar address searches
2025-09-12 10:52:42 +02:00
Sarah Hoffmann
42b687f545
stop searching earlier after the first results was found
2025-09-12 10:01:13 +02:00
Sarah Hoffmann
43ffceff27
remove base penalty for postcodes
...
This is a relict from having base penalties for all terms.
2025-09-12 09:45:57 +02:00
Sarah Hoffmann
2fb03cd103
Merge pull request #3835 from lonvia/remove-japanese-variants
...
Remove japanese variants
2025-09-11 17:45:30 +02:00
Sarah Hoffmann
8d3d24a1e4
Merge pull request #3834 from lonvia/neighbourhoods
...
Improve handling of neighbourhoods in addresses
2025-09-11 15:25:01 +02:00
Sarah Hoffmann
8efdab1d6f
remove japanese variants
...
Variants are only meant for word morphing which does not exist
for Kanji.
2025-09-11 15:20:57 +02:00
Sarah Hoffmann
1d1d80e1e3
adapt BDD tests for new address ranks
2025-09-11 11:56:39 +02:00
Sarah Hoffmann
670cf98f93
fix query time logging for structured queries
2025-09-11 10:54:02 +02:00
Sarah Hoffmann
433c40cd68
downgrade neighbourhoods and landuses
...
Neighbourhoods shoud be below a quarter hierarchically speaking, so
downgrade them a bit. Consider named landuses the area form of a
meighbourhood and put it at the same level.
2025-09-11 10:20:33 +02:00
Sarah Hoffmann
a049569020
downgrade Japanese boundaries one level
...
Definition is shifted by one compared to other countries,
see https://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative
2025-09-11 10:01:24 +02:00
Sarah Hoffmann
bf49f6a46f
Merge pull request #3833 from lonvia/rework-logging
...
Introduce generic query statistics and make log output configurable
2025-09-11 08:46:44 +02:00
Sarah Hoffmann
45a44f1411
export QueryStatistics type
2025-09-10 21:40:39 +02:00
Sarah Hoffmann
5a2bfd7a19
add documentation for library API
2025-09-10 21:38:09 +02:00
Sarah Hoffmann
fd12d2e9f3
add additional stats for search queries
2025-09-10 20:49:46 +02:00
Sarah Hoffmann
3d0867ff16
make log output configurable
2025-09-10 20:11:46 +02:00
Sarah Hoffmann
177b16b89b
use new QueryStatistics in API server
2025-09-10 11:52:06 +02:00
Sarah Hoffmann
0b7bde2500
introduce parameter for saving query statistics
2025-09-10 10:24:20 +02:00
Sarah Hoffmann
7ac3591433
Merge pull request #3830 from lonvia/split-transliteration
...
Improve word match penalty for scripts without word boundaries
2025-09-09 10:28:21 +02:00
Sarah Hoffmann
07c2907064
split normalized word when transliteration is split up
2025-09-08 22:58:01 +02:00
Sarah Hoffmann
355cbcc7b8
Merge pull request #3828 from lonvia/code-cleanup
...
Code cleanup
2025-09-06 16:59:52 +02:00
Sarah Hoffmann
8339c2b928
no longer accept None in result maker functions
2025-09-06 11:09:40 +02:00
Sarah Hoffmann
341c09ee95
remove unused functions
2025-09-06 11:09:40 +02:00
Sarah Hoffmann
b0b909be93
Merge pull request #3827 from lonvia/rework-query-timeouts
...
Apply request timeouts while waiting for a connection
2025-09-06 11:08:55 +02:00
Sarah Hoffmann
bf604e36ee
add test for timeout class
2025-09-05 23:31:09 +02:00
Sarah Hoffmann
3a50f749dd
apply request timeout also while waiting for a connection from pool
2025-09-05 23:31:09 +02:00