we’ve integrated Algolia Places to use for an address field autocomplete and I love how simple it was to integrate it. Our business is based in Quebec, Canada, and I’ve set the
countries array (config option) to only Canada (
However, by default the top results shown are from Alberta. Is there a way to specify a province so that results from Quebec are weighted higher and thus appear first in the suggestions?
Also, another issue we’re having is that the autocomplete won’t work properly if the user enters partial words for the street names, such as “Boulevard”.
Example, if the user types
boul henri-bourassa in the search field, we’d expect to see
Boulevard Henri-Bourassa at the top, but since the Boulevard word was only partially typed out, it won’t find the proper result.
Is this the expected behaviour, or do I need to tweak some option/config so that it tolerates those partially-completed words?
Google Maps supports that and at the moment this is the only thing preventing us to switch to Places.
Thanks for the help!