-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
Description
When specifying the venue param for /v1/search/structured (ie. when searching for a POI), additional information, such as the postcode and street fields are not considered for scoring.
query/layout/StructuredFallbackQuery.js
Line 166 in a730d26
| function addQuery(vs) { |
This results in POI results being returned in insertion order rather than better matches being shown first.
Examples:
The second result matches the postalcode 6011, yet is displayed second:
Adding the address information of the second result returns only address layer results:
Manually specifying layers=venue shows the same results as the original query (incorrectly ordered):

Reactions are currently unavailable