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

Improve handling addr:place without a place node #3397

Merged
merged 3 commits into from
May 2, 2024

Conversation

lonvia
Copy link
Member

@lonvia lonvia commented Apr 19, 2024

If an address point has its own entry in the search_name table, then the tokens for addr:place must always go into the address token list. Everything else causes false matches.

Also adds full terms for addr:* items to the search_name table. They used to be irrelevant but are needed these days because we rerank by full-term matches.

Fixes #3208.

lonvia added 3 commits May 2, 2024 11:47
Housenumbers with unlisted place names should be handled like
any ither housenumbers with missing address terms.
This is now needed to weigh results.
@lonvia lonvia force-pushed the improve-handling-unlisted-places branch from 5ab3881 to 7fb3ef4 Compare May 2, 2024 09:47
@lonvia lonvia merged commit a2cf6db into osm-search:master May 2, 2024
11 checks passed
@lonvia lonvia deleted the improve-handling-unlisted-places branch May 2, 2024 11:46
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.

Strange order of results with addr:place
1 participant