Why is my query for a particular restaurant with the Azure (Bing) Maps Fuzzy Search API not returning correct result?

David LeJeune 20 Reputation points
2023-05-03T11:10:53.2933333+00:00

Although initially the function I was using to call the Bing Maps API using the fuzzy search was returning the correct restaurant every time and I was able to parse the then correct address. Yesterday evening something changed and now it is returning 2 results - neither of which are the correct restaurant.

The restaurant I'm looking for called 'Chez Rene' located at 14 Bd Saint Germain, 75005 Paris. It's possible that in updating/testing my function I changed the URL I was constructing but I don't think so. Again, yesterday it was working like clockwork where it aligned with the top result from a Bing Maps search in my browser but now it returns two restaurants neither of which is the one that I'm looking for (and was working fine previously).

Below is the URL that my function puts together:

https://atlas.microsoft.com/search/fuzzy/xml?api-version=1.0&countrySet=FR&query=restaurant%20Chez%20Rene%20in%20Paris%2C%20France&subscription-key=MY-KEY-HERE

Any help you can provide to point me in the correct direction as how to modify the URL so that it has a more exact match on the name of the restaurant I'd greatly appreciate. Perhaps also the fuzzy search endpoint within the Azure Maps offering is not the right one to use but I believe it should support this use case.

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
587 questions
0 comments No comments
{count} votes

Accepted answer
  1. rbrundritt 15,226 Reputation points Microsoft Employee
    2023-05-03T20:01:22.8333333+00:00

    As a point of clarity, the V1 fuzzy search API is not associated with Bing Maps in any way. It is an Azure Maps service powered by TomTom. The V2 search services in Azure Maps use Bing Maps data, but are currently limited to address queries, not business lookups.

    Digging into your issue it appears that this point of interest is now missing from the data. I tried using different V1 search services to find it, like the nearby search, and was unable to locate it. Data feedback can be provided using this tool: https://feedback.azuremaps.com/ I've submitted this on for you. You can use the following URL to track the status: https://feedback.azuremaps.com/status?id=675d0260-4d04-44f2-9590-1758cff47e71

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful