You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a self-hosted instance of Pelias running in docker. I've identified a unexpected behavior when searching for an address with a unit number.
When i search for
658 Glen St, Edmonds, WA, USA
I get results from openaddresses. The results come from two sources: us/wa/snohomish_county and us/wa/snohomish.
But if we look at the document in the index, Pelias did not import the Unit 101 as a address_parts.unit from openaddresses, but instead as part of the street name which is weird because nowhere in the openaddresses repo i could find a place where we concatenate the unit number to the street name.
Here's how the raw data looks from the openaddresses geojson:
Describe the bug
I have a self-hosted instance of Pelias running in docker. I've identified a unexpected behavior when searching for an address with a unit number.
When i search for
I get results from
openaddresses
. The results come from two sources:us/wa/snohomish_county
andus/wa/snohomish
.Example results:
These results differ from the https://api.geocode.earth and https://api.dev.geocode.earth, presumably because they are using an older version of the openaddresses sources for Snohomish, WA.
From the results we see, the address with unit
658 Glen St Unit 201, Edmonds, WA, USA
exists in the database.When we search for it, we get no exact results. In contrast, when we run the same text against the
autocomplete
api, we get correct results.This is an example document from the ES Index:
When i debug the request with
debug=1
i see that pelias is trying to apply the following filters:But if we look at the document in the index, Pelias did not import the
Unit 101
as aaddress_parts.unit
from openaddresses, but instead as part of the street name which is weird because nowhere in the openaddresses repo i could find a place where we concatenate the unit number to the street name.Here's how the raw data looks from the openaddresses geojson:
Steps to Reproduce
https://pelias.github.io/compare/#/v1/search?text=658+Glen+St+Unit+101%2C+Edmonds%2C+WA%2C+USA
Add our environment as a host: https://pelias.databyte.so
Expected behavior
/search
should return results for address that has a unit number as part of the address.Environment (please complete the following information):
Self hosted.
Minimal pelias.json configuration to replicate:
References
This issue might be connected to #1395 but it is the inverse behavior. the
/search
api doesn't give correct responses, but the/autocomplete
does.The text was updated successfully, but these errors were encountered: