Geosearch Filter Issue in Typesense PHP Client
TLDR Abdullah, Abdullah, is having trouble with the geosearch filter in his PHP client for Typesense. He is seeking assistance from Jason.
Powered by Struct AI
5
23mo
Oct 07, 2021 (23 months ago)
Abdullah
Abdullah
05:59 PMHello there guys, I'm Abdullah the guy who wrote the php client for typesense.
I'd love to get your help regarding an issue I'm facing with the geosearch, it seems that the radius I'm sending inside the filters has no effect on the results returned from the API
I'd love to get your help regarding an issue I'm facing with the geosearch, it seems that the radius I'm sending inside the filters has no effect on the results returned from the API
Jason
Jason
06:00 PMHi Abdullah! 👋
Could you share the exact filter_by query you're using?
Could you share the exact filter_by query you're using?
Abdullah
Abdullah
06:46 PMit's as simple as location(lat, lng, 5 km)
Jason
Jason
07:00 PMHmm, could you share the exact curl command (without the API keys) and the full response you see from Typesense?
Abdullah
Abdullah
08:01 PMsure
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2764 threads (79% resolved)
Similar Threads
Using TypeSense for Geolocation Tagged Job Search
Nicholas needed help to enable geo-location based job search on a board. James suggested using filter_by from TypeSense, while Jason elaborated on 'OR' and 'AND' operations in TypeSense.

16
23mo
Solved
Typesense Query Construction for Branch Locator
Lily needed confirmations on their typesense implementation for a location-based feature. Jason affirmed their approach.

3
1mo
Solved
Guiding GeoPoint Search with Typesense's Polygon
Ignacio had trouble with geopoint search in Typesense. Jason helped them solve it by using the counter-clockwise method with polygon points. The solution was posted on GitHub for future reference.



31
25mo
Solved