Search SpatialFilter response is inconsistent when provided field doesn't exist
If the field specified in the SpatialFilter does not exist, current response is 400.
"spatialFilter": {
"field": "data.dlLatLongWGS84",
"byBoundingBox": {
"topLeft": {
"latitude": 34.742612,
"longitude": -101.074218
},
"bottomRight": {
"latitude": 32.934928,
"longitude": -80.799072
}
}
}
400 is returned:
{
"code": 400,
"reason": "Bad Request",
"message": "Invalid parameters were given on search request"
}
This behavior is inconsistent with "query".
To do: to have consistent response, which is 200 with empty results in case the provided field does not exist.