]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
3 months agoreduce penalty for artificial housenumbers
Sarah Hoffmann [Fri, 12 Sep 2025 15:44:54 +0000 (17:44 +0200)]
reduce penalty for artificial housenumbers

3 months agoin-word penalty for final address token
Sarah Hoffmann [Fri, 12 Sep 2025 10:05:29 +0000 (12:05 +0200)]
in-word penalty for final address token

3 months agohousenumber and postcode cross penalties for partials
Sarah Hoffmann [Fri, 12 Sep 2025 09:50:01 +0000 (11:50 +0200)]
housenumber and postcode cross penalties for partials

3 months agobase penalty for housenumber searches on similar address searches
Sarah Hoffmann [Fri, 12 Sep 2025 08:52:42 +0000 (10:52 +0200)]
base penalty for housenumber searches on similar address searches

3 months agostop searching earlier after the first results was found
Sarah Hoffmann [Fri, 12 Sep 2025 08:01:13 +0000 (10:01 +0200)]
stop searching earlier after the first results was found

3 months agoremove base penalty for postcodes
Sarah Hoffmann [Fri, 12 Sep 2025 07:45:57 +0000 (09:45 +0200)]
remove base penalty for postcodes

This is a relict from having base penalties for all terms.

3 months agoMerge pull request #3835 from lonvia/remove-japanese-variants
Sarah Hoffmann [Thu, 11 Sep 2025 15:45:30 +0000 (17:45 +0200)]
Merge pull request #3835 from lonvia/remove-japanese-variants

Remove japanese variants

3 months agoMerge pull request #3834 from lonvia/neighbourhoods
Sarah Hoffmann [Thu, 11 Sep 2025 13:25:01 +0000 (15:25 +0200)]
Merge pull request #3834 from lonvia/neighbourhoods

Improve handling of neighbourhoods in addresses

3 months agoremove japanese variants
Sarah Hoffmann [Thu, 11 Sep 2025 13:20:57 +0000 (15:20 +0200)]
remove japanese variants

Variants are only meant for word morphing which does not exist
for Kanji.

3 months agoadapt BDD tests for new address ranks
Sarah Hoffmann [Thu, 11 Sep 2025 09:56:39 +0000 (11:56 +0200)]
adapt BDD tests for new address ranks

3 months agofix query time logging for structured queries
Sarah Hoffmann [Thu, 11 Sep 2025 08:54:02 +0000 (10:54 +0200)]
fix query time logging for structured queries

3 months agodowngrade neighbourhoods and landuses
Sarah Hoffmann [Thu, 11 Sep 2025 08:20:33 +0000 (10:20 +0200)]
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.

3 months agodowngrade Japanese boundaries one level
Sarah Hoffmann [Thu, 11 Sep 2025 08:01:24 +0000 (10:01 +0200)]
downgrade Japanese boundaries one level

Definition is shifted by one compared to other countries,
see https://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative

3 months agoMerge pull request #3833 from lonvia/rework-logging
Sarah Hoffmann [Thu, 11 Sep 2025 06:46:44 +0000 (08:46 +0200)]
Merge pull request #3833 from lonvia/rework-logging

Introduce generic query statistics and make log output configurable

3 months agoexport QueryStatistics type
Sarah Hoffmann [Wed, 10 Sep 2025 19:40:39 +0000 (21:40 +0200)]
export QueryStatistics type

3 months agoadd documentation for library API
Sarah Hoffmann [Wed, 10 Sep 2025 19:38:09 +0000 (21:38 +0200)]
add documentation for library API

3 months agoadd additional stats for search queries
Sarah Hoffmann [Wed, 10 Sep 2025 18:49:46 +0000 (20:49 +0200)]
add additional stats for search queries

3 months agomake log output configurable
Sarah Hoffmann [Wed, 10 Sep 2025 18:11:46 +0000 (20:11 +0200)]
make log output configurable

3 months agouse new QueryStatistics in API server
Sarah Hoffmann [Wed, 10 Sep 2025 09:52:06 +0000 (11:52 +0200)]
use new QueryStatistics in API server

3 months agointroduce parameter for saving query statistics
Sarah Hoffmann [Wed, 10 Sep 2025 08:24:20 +0000 (10:24 +0200)]
introduce parameter for saving query statistics

3 months agoMerge pull request #3830 from lonvia/split-transliteration
Sarah Hoffmann [Tue, 9 Sep 2025 08:28:21 +0000 (10:28 +0200)]
Merge pull request #3830 from lonvia/split-transliteration

Improve word match penalty for scripts without word boundaries

3 months agosplit normalized word when transliteration is split up
Sarah Hoffmann [Mon, 8 Sep 2025 20:24:11 +0000 (22:24 +0200)]
split normalized word when transliteration is split up

3 months agoMerge pull request #3828 from lonvia/code-cleanup
Sarah Hoffmann [Sat, 6 Sep 2025 14:59:52 +0000 (16:59 +0200)]
Merge pull request #3828 from lonvia/code-cleanup

Code cleanup

3 months agono longer accept None in result maker functions
Sarah Hoffmann [Wed, 3 Sep 2025 19:42:12 +0000 (21:42 +0200)]
no longer accept None in result maker functions

3 months agoremove unused functions
Sarah Hoffmann [Tue, 5 Aug 2025 13:36:33 +0000 (15:36 +0200)]
remove unused functions

3 months agoMerge pull request #3827 from lonvia/rework-query-timeouts
Sarah Hoffmann [Sat, 6 Sep 2025 09:08:55 +0000 (11:08 +0200)]
Merge pull request #3827 from lonvia/rework-query-timeouts

Apply request timeouts while waiting for a connection

3 months agoadd test for timeout class
Sarah Hoffmann [Fri, 5 Sep 2025 12:56:29 +0000 (14:56 +0200)]
add test for timeout class

3 months agoapply request timeout also while waiting for a connection from pool
Sarah Hoffmann [Fri, 5 Sep 2025 12:47:14 +0000 (14:47 +0200)]
apply request timeout also while waiting for a connection from pool

3 months agoread request_timeout configuration only once
Sarah Hoffmann [Wed, 3 Sep 2025 07:43:08 +0000 (09:43 +0200)]
read request_timeout configuration only once

3 months agoMerge pull request #3825 from emlove/entrance-docs
Sarah Hoffmann [Wed, 3 Sep 2025 19:18:15 +0000 (21:18 +0200)]
Merge pull request #3825 from emlove/entrance-docs

Some docs for the entrances output

3 months agoAdd example entrances output
Emily Love Watson [Wed, 3 Sep 2025 14:55:43 +0000 (09:55 -0500)]
Add example entrances output

3 months agoMerge pull request #3826 from lonvia/decrease-default-pool-size
Sarah Hoffmann [Wed, 3 Sep 2025 06:53:54 +0000 (08:53 +0200)]
Merge pull request #3826 from lonvia/decrease-default-pool-size

reduce default DB pool size

3 months agoSome docs for the entrances output
Emily Love Watson [Tue, 2 Sep 2025 16:58:29 +0000 (11:58 -0500)]
Some docs for the entrances output

3 months agoreduce default DB pool size
Sarah Hoffmann [Tue, 2 Sep 2025 20:10:30 +0000 (22:10 +0200)]
reduce default DB pool size

3 months agoMerge pull request #3807 from emlove/return-entrance-location
Sarah Hoffmann [Sat, 30 Aug 2025 18:08:33 +0000 (20:08 +0200)]
Merge pull request #3807 from emlove/return-entrance-location

Index and return entrance coordinates for places

3 months agoStore entrance fields as columns on table
Emily Love Watson [Fri, 22 Aug 2025 20:57:28 +0000 (15:57 -0500)]
Store entrance fields as columns on table

3 months agoSelect all entrances for results in one query
Emily Love Watson [Thu, 21 Aug 2025 16:35:23 +0000 (11:35 -0500)]
Select all entrances for results in one query

3 months agoUpdate entrances when entrance nodes are updated
Emily Love Watson [Wed, 20 Aug 2025 19:59:25 +0000 (14:59 -0500)]
Update entrances when entrance nodes are updated

3 months agoUpdate entrances schema
Emily Love Watson [Thu, 14 Aug 2025 19:37:24 +0000 (14:37 -0500)]
Update entrances schema

3 months agoIndex and return entrance coordinates for indexed locations
Emily Love Watson [Tue, 5 Aug 2025 15:23:45 +0000 (10:23 -0500)]
Index and return entrance coordinates for indexed locations

3 months agoMerge pull request #3823 from lonvia/fix-postcode-difference
Sarah Hoffmann [Fri, 29 Aug 2025 15:06:08 +0000 (17:06 +0200)]
Merge pull request #3823 from lonvia/fix-postcode-difference

Fix difference computation on postcode updates

3 months agofix poscode update computation: use distance
Sarah Hoffmann [Fri, 29 Aug 2025 13:10:27 +0000 (15:10 +0200)]
fix poscode update computation: use distance

3 months agoMerge pull request #3816 from anqixxx/locale-doc-update
Sarah Hoffmann [Thu, 28 Aug 2025 20:06:41 +0000 (22:06 +0200)]
Merge pull request #3816 from anqixxx/locale-doc-update

Update to library locale documentation in light of refactor

3 months agoUpdated and restructured library documentation to include Locale changes
anqixxx [Wed, 20 Aug 2025 13:54:25 +0000 (09:54 -0400)]
Updated and restructured library documentation to include Locale changes

Updated Getting Started Docs

Added documentation for Result Handling

removed api documentation

4 months agoMerge pull request #3820 from mtmail/berlin-ost-hauptbahnhof
Sarah Hoffmann [Sat, 23 Aug 2025 15:17:39 +0000 (17:17 +0200)]
Merge pull request #3820 from mtmail/berlin-ost-hauptbahnhof

Sanetizer no longer strips name parts in brackets when more parts follow

4 months agosanetizer no longer strips name parts in brackets when more parts follow
marc tobias [Fri, 22 Aug 2025 23:06:35 +0000 (01:06 +0200)]
sanetizer no longer strips name parts in brackets when more parts follow

4 months agoMerge pull request #3819 from lonvia/ignore-survey
Sarah Hoffmann [Fri, 22 Aug 2025 20:10:02 +0000 (22:10 +0200)]
Merge pull request #3819 from lonvia/ignore-survey

Ignore survey:* tags

4 months agoignore survey:* tags
Sarah Hoffmann [Fri, 22 Aug 2025 08:59:58 +0000 (10:59 +0200)]
ignore survey:* tags

4 months agoMerge pull request #3796 from anqixxx/locale-refactor
Sarah Hoffmann [Wed, 13 Aug 2025 12:08:42 +0000 (14:08 +0200)]
Merge pull request #3796 from anqixxx/locale-refactor

Localize() + Results refactor

4 months agoLocales and localization refactor with Locales as a localizer object.
anqixxx [Thu, 24 Jul 2025 20:54:13 +0000 (16:54 -0400)]
Locales and localization refactor with Locales as a localizer object.

Removed auto-localization from search/search_address APIs (now explicit), simplified AddressLines to subclass List[AddressLine], made display_name a computed property in Results instead of field and removed result-localization circular dependencies

4 months agoavoid symbolic link to files in packaging
Sarah Hoffmann [Wed, 6 Aug 2025 19:57:24 +0000 (21:57 +0200)]
avoid symbolic link to files in packaging

Hatch cannot handle those correctly and will add a symbolic link to the
source package.

4 months agoMerge pull request #3811 from lonvia/fix-frequent-terms-with-viewbox
Sarah Hoffmann [Wed, 6 Aug 2025 19:10:07 +0000 (21:10 +0200)]
Merge pull request #3811 from lonvia/fix-frequent-terms-with-viewbox

Don't restrict to viewbox for frequent terms

4 months agofix typing issue with latest falcon version
Sarah Hoffmann [Wed, 6 Aug 2025 18:08:10 +0000 (20:08 +0200)]
fix typing issue with latest falcon version

4 months agodon't restrict to viewbox for frequent terms
Sarah Hoffmann [Wed, 6 Aug 2025 15:27:52 +0000 (17:27 +0200)]
don't restrict to viewbox for frequent terms

All searched places may be outside the viewbox in which case the
restriction means that there are no results at all. Add the penalty for
being outside the viewbox earlier instead and then cut the list.

4 months agoMerge pull request #3808 from lonvia/avoid-st-relate
Sarah Hoffmann [Wed, 6 Aug 2025 14:28:51 +0000 (16:28 +0200)]
Merge pull request #3808 from lonvia/avoid-st-relate

Replace ST_Relate by shortcut functions

4 months agoreplace ST_Relate by shortcut functions
Sarah Hoffmann [Wed, 6 Aug 2025 09:08:46 +0000 (11:08 +0200)]
replace ST_Relate by shortcut functions

For some reason ST_Relate returns wrong results in the context of
the trigger on Debian Trixie. Works fine with the Postgis version
from postgresql.org.

4 months agoadd test for reverse with address layer and inherited address
Sarah Hoffmann [Thu, 31 Jul 2025 20:25:13 +0000 (22:25 +0200)]
add test for reverse with address layer and inherited address

4 months agoMerge pull request #3799 from lonvia/reduce-coordinate-precision
Sarah Hoffmann [Wed, 30 Jul 2025 12:50:36 +0000 (14:50 +0200)]
Merge pull request #3799 from lonvia/reduce-coordinate-precision

Reduce coordinate precision of centroids and interpolation lines

4 months agoMerge pull request #3800 from lonvia/improve-style-docs
Sarah Hoffmann [Wed, 30 Jul 2025 12:50:17 +0000 (14:50 +0200)]
Merge pull request #3800 from lonvia/improve-style-docs

Improvements to documentation for custom import styles

4 months agoMerge pull request #3797 from mtmail/database-version-not-found
Sarah Hoffmann [Wed, 30 Jul 2025 10:08:10 +0000 (12:08 +0200)]
Merge pull request #3797 from mtmail/database-version-not-found

Better hint to user if database import didnt finish

4 months agoBetter hint to user if database import didnt finish
marc tobias [Wed, 30 Jul 2025 00:26:22 +0000 (02:26 +0200)]
Better hint to user if database import didnt finish

4 months agoclarify what merging means
Sarah Hoffmann [Tue, 29 Jul 2025 21:04:14 +0000 (23:04 +0200)]
clarify what merging means

4 months agodocs: add a list of available topics
Sarah Hoffmann [Tue, 29 Jul 2025 20:59:02 +0000 (22:59 +0200)]
docs: add a list of available topics

4 months agoadapt BDD tests to different rounding of reduce precision
Sarah Hoffmann [Tue, 29 Jul 2025 20:35:14 +0000 (22:35 +0200)]
adapt BDD tests to different rounding of reduce precision

4 months agoreduce precision of interpolations to OSM precision
Sarah Hoffmann [Tue, 29 Jul 2025 19:39:04 +0000 (21:39 +0200)]
reduce precision of interpolations to OSM precision

4 months agoreduce precision of computed centroids to 7 digits
Sarah Hoffmann [Tue, 29 Jul 2025 19:25:14 +0000 (21:25 +0200)]
reduce precision of computed centroids to 7 digits

5 months agoMerge pull request #3789 from lonvia/align-deferred-delete-limits
Sarah Hoffmann [Tue, 22 Jul 2025 09:15:56 +0000 (11:15 +0200)]
Merge pull request #3789 from lonvia/align-deferred-delete-limits

Align limits for deferring delete and reindexing on insert

5 months agoalign limits for deferring delete and reindexing on insert
Sarah Hoffmann [Mon, 21 Jul 2025 14:11:06 +0000 (16:11 +0200)]
align limits for deferring delete and reindexing on insert

Right now when a boundary with an area between 1 and 2 broke, it
was deleted but on reinsert afer repair, the addresses are not updated
resulting in inconsistent data.

5 months agoremove unused code
Sarah Hoffmann [Sat, 19 Jul 2025 13:14:23 +0000 (15:14 +0200)]
remove unused code

5 months agoMerge pull request #3785 from lonvia/raise-python-to-39
Sarah Hoffmann [Sat, 19 Jul 2025 21:02:13 +0000 (23:02 +0200)]
Merge pull request #3785 from lonvia/raise-python-to-39

Raise minimum required Python version to 3.9

5 months agorun old-version CI against oldest supported Python
Sarah Hoffmann [Sat, 19 Jul 2025 13:25:23 +0000 (15:25 +0200)]
run old-version CI against oldest supported Python

5 months agoraise minimum supported Python version to 3.9
Sarah Hoffmann [Sat, 19 Jul 2025 13:23:17 +0000 (15:23 +0200)]
raise minimum supported Python version to 3.9

5 months agoMerge pull request #3781 from lonvia/partial-address-index-lookup
Sarah Hoffmann [Tue, 15 Jul 2025 08:11:12 +0000 (10:11 +0200)]
Merge pull request #3781 from lonvia/partial-address-index-lookup

Reduce number of tokens used for index lookups during search

5 months agoadapt test to new lookup limits
Sarah Hoffmann [Mon, 14 Jul 2025 12:17:33 +0000 (14:17 +0200)]
adapt test to new lookup limits

5 months agorestrict pre-selection by postcode to country
Sarah Hoffmann [Sat, 12 Jul 2025 09:17:07 +0000 (11:17 +0200)]
restrict pre-selection by postcode to country

5 months agorestrict name-only address searches early by postcode
Sarah Hoffmann [Fri, 11 Jul 2025 20:04:12 +0000 (22:04 +0200)]
restrict name-only address searches early by postcode

5 months agorestrict name-only search more
Sarah Hoffmann [Fri, 11 Jul 2025 19:02:44 +0000 (21:02 +0200)]
restrict name-only search more

5 months agorestrict postcode distance computation to within country
Sarah Hoffmann [Fri, 11 Jul 2025 18:20:37 +0000 (20:20 +0200)]
restrict postcode distance computation to within country

5 months agoonly use most infrequent tokens for search index lookup
Sarah Hoffmann [Fri, 11 Jul 2025 13:26:50 +0000 (15:26 +0200)]
only use most infrequent tokens for search index lookup

5 months agoMerge pull request #3779 from lonvia/fix-zero-devision-direction
Sarah Hoffmann [Fri, 11 Jul 2025 12:51:00 +0000 (14:51 +0200)]
Merge pull request #3779 from lonvia/fix-zero-devision-direction

Fix direction factor computation on empty strings

5 months agoMerge pull request #3777 from lonvia/harmonize-transition-penalties
Sarah Hoffmann [Fri, 11 Jul 2025 12:17:48 +0000 (14:17 +0200)]
Merge pull request #3777 from lonvia/harmonize-transition-penalties

Clean up word transition penalty assignment for searches

5 months agoMerge pull request #3778 from lonvia/remove-log-db-setting
Sarah Hoffmann [Fri, 11 Jul 2025 12:17:24 +0000 (14:17 +0200)]
Merge pull request #3778 from lonvia/remove-log-db-setting

Remove defaults and documentations for LOG_DB setting

5 months agoadd BDD test for empty queries
Sarah Hoffmann [Fri, 11 Jul 2025 12:16:48 +0000 (14:16 +0200)]
add BDD test for empty queries

5 months agoremove any references to website setup or refresh
Sarah Hoffmann [Fri, 11 Jul 2025 09:51:49 +0000 (11:51 +0200)]
remove any references to website setup or refresh

Does no longer exist.

5 months agofix direction factor computation on empty strings
Sarah Hoffmann [Fri, 11 Jul 2025 09:25:14 +0000 (11:25 +0200)]
fix direction factor computation on empty strings

5 months agoremove LOG_DB setting, not implemented anymore
Sarah Hoffmann [Fri, 11 Jul 2025 09:15:41 +0000 (11:15 +0200)]
remove LOG_DB setting, not implemented anymore

5 months agoremove penalty from TokenRanges
Sarah Hoffmann [Fri, 11 Jul 2025 08:57:35 +0000 (10:57 +0200)]
remove penalty from TokenRanges

The parameter is no longer needed.

5 months agoadapt tests for new function signatures
Sarah Hoffmann [Fri, 11 Jul 2025 08:27:18 +0000 (10:27 +0200)]
adapt tests for new function signatures

5 months agoreduce maximum number of SQL queries per search
Sarah Hoffmann [Fri, 11 Jul 2025 07:34:21 +0000 (09:34 +0200)]
reduce maximum number of SQL queries per search

5 months agofix order of address rankings prefering longest words
Sarah Hoffmann [Wed, 9 Jul 2025 21:22:20 +0000 (23:22 +0200)]
fix order of address rankings prefering longest words

5 months agoreinstate penalty for partial only matches
Sarah Hoffmann [Wed, 9 Jul 2025 20:27:12 +0000 (22:27 +0200)]
reinstate penalty for partial only matches

5 months agogive word break slight advantage towards continuation
Sarah Hoffmann [Wed, 9 Jul 2025 20:25:40 +0000 (22:25 +0200)]
give word break slight advantage towards continuation

prefers longer words

5 months agorebalance word transition penalties
Sarah Hoffmann [Wed, 9 Jul 2025 18:35:15 +0000 (20:35 +0200)]
rebalance word transition penalties

5 months agosimplify QueryNode penalty and initial assignment
Sarah Hoffmann [Wed, 9 Jul 2025 13:36:11 +0000 (15:36 +0200)]
simplify QueryNode penalty and initial assignment

5 months agoMerge pull request #3774 from lonvia/remove-postcodes-from-nameaddressvector
Sarah Hoffmann [Tue, 8 Jul 2025 15:23:05 +0000 (17:23 +0200)]
Merge pull request #3774 from lonvia/remove-postcodes-from-nameaddressvector

Do not add postcodes from postcode boundaries to address vector

5 months agoMerge pull request #3773 from lonvia/small-countries
Sarah Hoffmann [Tue, 8 Jul 2025 13:01:37 +0000 (15:01 +0200)]
Merge pull request #3773 from lonvia/small-countries

Reduce area for geometry rank for very small countries

5 months agodo not add postcodes from postcode boundaries to address vector
Sarah Hoffmann [Tue, 8 Jul 2025 12:49:16 +0000 (14:49 +0200)]
do not add postcodes from postcode boundaries to address vector

Postcodes will be found through a special search, so we can save
the space.

5 months agoreduce area for geometry rank for very small countries
Sarah Hoffmann [Tue, 8 Jul 2025 11:50:20 +0000 (13:50 +0200)]
reduce area for geometry rank for very small countries

5 months agoMerge pull request #3772 from lonvia/fix-index-use-deletable
Sarah Hoffmann [Tue, 8 Jul 2025 11:49:31 +0000 (13:49 +0200)]
Merge pull request #3772 from lonvia/fix-index-use-deletable

split up query for deletable endpoint by osm type

5 months agosplit up query for deletable endpoint by osm type
Sarah Hoffmann [Tue, 8 Jul 2025 09:03:29 +0000 (11:03 +0200)]
split up query for deletable endpoint by osm type

This is needed to ensure index use on placex.