We are implementing the GeocodeServer/findAddressCandidates service for a client to search for street addresses. However, we are not receiving as many address candidates as expected, especially with partial input.
For example, when searching with "20 E", we expect to retrieve results like:
- "20 East Randolph Street, Chicago, IL, USA"
- "20 East 46th Street, New York, NY, USA"
- "20 Edward Street, Toronto, ON, Canada"
However, the service requires much more input before returning useful address candidates.
Below is our current API configuration:
- f: "pjson",
- token: token,
- address: address,
- outFields: "LongLabel, AddNum, StName, StDir, StType, StAddr, City, Region, RegionAbbr, Postal, PostalExt, DistrictCounty",
- maxLocations: 10,
- category: "Street Address",
- sourceCountry: "USA,CAN"
Is there a way to optimize our configuration or improve how ArcGIS handles address candidates so that fewer characters are needed to get relevant suggestions?
Thank you for your assistance.