Attempting to use the GeocodeServer find and suggest endpoints filtered by category. I would like to only show results that are Street Addresses, but the user is able to type in anything, including requests that are not street addresses, but would typically return non-street address results (they are POI's or Street Names or Intersections, etc), as in the workflow below.
So a web application makes the following request:
Where category=Street Address and text=ritten and get this response:
None of these results are street addresses, and I would expect this response to contain zero results based on my category filter. Instead they appear to be within the Street Name or POI category. I verified this by making requests to the find service by omitting the category=Street Address parameter:
This particular example, for the first result in the above suggest request, returns type StreetName.
If I readd the category=Street Address parameter in the previous find request, I get no results as expected, since this particular item is a Street Name.
Is this expected behavior? If so, how do I properly get these two services to filter properly on only street addresses?