I built a custom geocoder, and I'm having some trouble retrieving candidates for certain addresses, namely, addresses with many subaddresses.
Here's a link to the geocoder: https://opengis.detroitmi.gov/opengis/rest/services/BaseUnits/BaseUnitGeocoder_DEV/GeocodeServer/fin...
I have an apartment building, 10 Witherell. There is a separate record for 10 Witherell, without unit type/number, and then records for each of the subaddresses, in the feature class that is in the PointAddress role which is used in the creation of this locator.
However, I can not get a candidate for the SingleLine string "10 Witherell". I can get results if I attach a dummy subaddress: "10 Witherell #1". Even though this address does not exist in the data, it finds the main building address, which is what I'm looking for.
What's also confusing is that typing "10 Wither" into the suggest endpoint will give me the base 10 Witherell address, and a magicKey I can use, but I need to be able to geocode the address "10 Witherell" from the findAddressCandidates and geocodeAddresses endpoints.
Furthermore, this doesn't seem to be a problem in ArcGIS Pro. Only when I deploy the geocoder to a server and try to search through that endpoint, does the error appear.