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
Sarah Hoffmann
563255202d
read request_timeout configuration only once
2025-09-05 09:18:50 +02:00
Sarah Hoffmann
94d22bbdac
Merge pull request #3825 from emlove/entrance-docs
...
Some docs for the entrances output
2025-09-03 21:18:15 +02:00
Emily Love Watson
32d26f12c4
Add example entrances output
2025-09-03 09:55:43 -05:00
Sarah Hoffmann
0f324c8cb2
Merge pull request #3826 from lonvia/decrease-default-pool-size
...
reduce default DB pool size
2025-09-03 08:53:54 +02:00
Emily Love Watson
1e3b56d215
Some docs for the entrances output
2025-09-02 21:56:56 -05:00
Sarah Hoffmann
e855552e01
reduce default DB pool size
2025-09-02 22:10:30 +02:00
Sarah Hoffmann
79a1907c49
Merge pull request #3807 from emlove/return-entrance-location
...
Index and return entrance coordinates for places
2025-08-30 20:08:33 +02:00
Emily Love Watson
91e345f77f
Store entrance fields as columns on table
2025-08-29 10:26:29 -05:00
Emily Love Watson
d0ad65f696
Select all entrances for results in one query
2025-08-29 10:26:29 -05:00
Emily Love Watson
e916d27b7c
Update entrances when entrance nodes are updated
2025-08-29 10:26:29 -05:00
Emily Love Watson
823ad5d279
Update entrances schema
2025-08-29 10:26:29 -05:00
Emily Love Watson
048d571e46
Index and return entrance coordinates for indexed locations
2025-08-29 10:25:44 -05:00
Sarah Hoffmann
f5e4b74c38
Merge pull request #3823 from lonvia/fix-postcode-difference
...
Fix difference computation on postcode updates
2025-08-29 17:06:08 +02:00
Sarah Hoffmann
c2a311e69c
fix poscode update computation: use distance
2025-08-29 15:10:27 +02:00
Sarah Hoffmann
5968f7d646
Merge pull request #3816 from anqixxx/locale-doc-update
...
Update to library locale documentation in light of refactor
2025-08-28 22:06:41 +02:00
anqixxx
4cdd2526b6
Updated and restructured library documentation to include Locale changes
...
Updated Getting Started Docs
Added documentation for Result Handling
removed api documentation
2025-08-27 09:18:16 -07:00
Sarah Hoffmann
4ff7696ed3
Merge pull request #3820 from mtmail/berlin-ost-hauptbahnhof
...
Sanetizer no longer strips name parts in brackets when more parts follow
2025-08-23 17:17:39 +02:00
marc tobias
247afe1f56
sanetizer no longer strips name parts in brackets when more parts follow
2025-08-23 01:06:35 +02:00
Sarah Hoffmann
6f74141fa4
Merge pull request #3819 from lonvia/ignore-survey
...
Ignore survey:* tags
2025-08-22 22:10:02 +02:00
Sarah Hoffmann
75ccf97de3
ignore survey:* tags
2025-08-22 10:59:58 +02:00
Sarah Hoffmann
196de9e974
Merge pull request #3796 from anqixxx/locale-refactor
...
Localize() + Results refactor
2025-08-13 14:08:42 +02:00