Hi everyone! I have a question regarding geo-searc...
# community-help
a
Hi everyone! I have a question regarding geo-search in Typesense (version 27): I have a collection with a field called
geometry
, which is a
geopoint[]
. Can I query this collection by specifying a [lat, long] pair and retrieve all the documents where the
geometry
contains this point? Is searching within a radius implemented for
geopoint[]
arrays? In other words, given a point, I want to retrieve all documents that have a
geopoint[]
containing that point.
j
Is searching within a radius implemented for geopoint[] arrays?
Yes. If any of the geopoints inside that array of geopoints are within the given radius, that document is returned.
given a point, I want to retrieve all documents that have a geopoint[] containing that point.
This is not supported.
a
Is there any plan to support this functionality in the future?
j
No current plans. But feel free to open a github issue with this feature request, so we can track interest