Select to view content in your preferred language

suggest api does not look up address number

299
5
a week ago
Labels (1)
hoogw
by
Frequent Contributor

 

if just search number, 5731, without any letter, it failed.

It should list all the address start with 5731.

hp_1772.png

 

if search 5731 with at least 1 letter, suggest api works fine.

hp_1771.png

  

 

 

This locator is simples use addres layer as POINT ADDRESS role

hp_1773.png

 

 

0 Kudos
5 Replies
Noah-Sager
Esri Regular Contributor

Does the number need to be wrapped in quotes to indicate that it's a string? I assume that's what adding a letter does.

0 Kudos
hoogw
by
Frequent Contributor

I don't know what you means, sorry can not accept as solution. 

0 Kudos
hoogw
by
Frequent Contributor

why not use your own test data, add quotes to prove your idea? use your mouth just saying without evidence, I can not accept as solution.

0 Kudos
hoogw
by
Frequent Contributor

hoogw_0-1757976388313.png

 

house number is already text field, this evidence prove that your idea above is invalid.

Without add quote, house number is already text, your suggestion is wrong way. 

 

 

 

0 Kudos
John-Foster
Esri Contributor

It isn't clear from your post which locator you are using or how that is configured, so check your installation. If I run a similar query against the ArcGIS World Geocoding service it seems to work fine:

https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?f=json&text=5731&maxSugg...

I get 10 results.

 

--jf
0 Kudos