Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look up different OSM types in placex separately #3590

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

lonvia
Copy link
Member

@lonvia lonvia commented Nov 14, 2024

There are separate indexes on placex for the different OSM types. PostgreSQL can only use these indexes if the type is fixed per query. So split up the lookup by OSM type/id into lookups for node, way and relation.

There are separate indexes on placex for the different OSM types.
PostgreSQL can only use these indexes if the type is fixed per query.
@lonvia lonvia merged commit 689bcbd into osm-search:master Nov 15, 2024
9 checks passed
@lonvia lonvia deleted the lookup-per-osm-type branch November 15, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant