[openstreetmap/openstreetmap-website] Repeated search may repeat the same results (Issue #6905)

Tom Hughes notifications at github.com
Wed Mar 18 17:39:16 UTC 2026


tomhughes left a comment (openstreetmap/openstreetmap-website#6905)

This is a known nominatim issue that will need to be resolved there.

The way "more results" work is to repeat the search but include a list of nominatim result IDs to be excluded so that it won't return things that it has already returned.

The problem is that each nominatim server has different IDs for the same items so if the second query goes to a different server then it may fail to exclude something that it should.

We do try and send all queries for the same client to the same server but for common terms you might get a cached result for the initial search and then the second one isn't cached and gets sent to a different backend.

I believe @lonvia has plans to fix nominatim to use globally consistent IDs but for now there's nothing we can do about it in this repository.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6905#issuecomment-4084393610
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6905/4084393610 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260318/6e0867be/attachment.htm>


More information about the rails-dev mailing list