`StructuredFallbackQuery` scoring of `venue` queries.
Opened this issue · 0 comments
missinglink commented
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
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):