Ernie
08/06/2024, 2:53 AMresults = await client.collection('events').documents.search(
{
'q' : '*',
'query_by' : 'title',
'per_page' : '250',
'filter_by' : 'location:(37.71,121.91, 30 mi)'
},
We receive the error:
SEVERE: ClientException: Connection closed before full header was received. and a URL which I removed for privacy.
We hard coded the lat/long in the filter just to get results but all we get is the error
The events collection in Firebase has as a field called location with a datatype of geopoint populated with lat/long for an event.
We can filter_by successfully with any field but location. Any pointers? Any sample code? Thoughts here? Thanks.