Join Slack
Powered by
Hi guys, Using Typesense with Firestore, how can I...
# community-help
l
Loïc
10/18/2021, 6:57 PM
Hi guys, Using Typesense with Firestore, how can I handle Firestore Geocode type in the Tyepesense Collection?
j
Jason Bosco
10/18/2021, 7:28 PM
@Loïc
You'd have to store the geo field as
field: [lat, long]
in Firestore
l
Loïc
10/18/2021, 9:40 PM
How do you store it in TypeSense to be able to search with a radius from the GeoCode location?
j
Jason Bosco
10/18/2021, 9:41 PM
You want to use the geopoint data type
Jason Bosco
10/18/2021, 9:41 PM
More info here:
https://typesense.org/docs/0.21.0/api/documents.html#geosearch
l
Loïc
10/18/2021, 10:48 PM
Perfect! Thank you
👍 1
Open in Slack
Previous
Next