I’m looking to obtain all POIs for “Granite Fabricators” within a certain geo-range. If I utilize the following API search, I only receive Granite Fabricators that have the word “granite” included in their name. Some Granite Fabricators have the word “stone” in their name.
Referencing my current query; Would this be the correct / most efficient query I can use to obtain what I need? I also tried maxFuzzyLevel=4 which didn’t return the needed results.
Is it possible to search using zip code instead of latitude and longitude?
Is it possible to request only the Search parameters I need?
a. For example: Lets say I utilize the above search but I only want the poi {name, phone, url }, address and position. Everything else can be excluded.
Hi Jason,
It is not possible to use any operators for a query string. Instead of that I have several sugggestions that you can follow and might find useful.
you can perform 2 subsequent API calls and merge results on your end
this is rather a term matching behavior as we don`t have such categories in the API. It means that you can expect results having phrases ‘granite’ or ‘fabricators’ or ‘stone’ in the name rather than actual category that I assume you look for
you can than restrict your request using categorySet for specific categories only (you can pass a list). Providing query string is optional in such case - the category derives the results
you can also play around with geometry search if you are interested in a specific area rather than a radius. Geo spatial filters also include bounding box parameter that can be used
zip code can always be part of your query string
for now Search API always provides full response and no exclusion mechanism is supported