-
-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geolocation / Geosearch #78
Comments
@natew Yes, that's on the todo list. What kind of features would you like apart from the ability to sort the results based on a given lat long (i.e. returning search results closest to a given geographical location). |
Beyond that I don't know, yet. |
A great addition to this would be to have the ability to define a polygon and then search for items within a polygon. See https://dev.mysql.com/doc/refman/5.7/en/gis-class-polygon.html for this feature in MySQL. That might be a pretty big stretch though. |
@hutbert Certainly on our radar :) If you'd like, happy to connect live so I can understand your use case and prioritize this feature. Would help ensure that we ship something with proven practical value. Let me know! |
@jasonbosco I don't have a specific use case so I wouldn't prioritize anything on my account. We have run into situations on some projects where our clients want to limit searches within particular boundaries (like within city limits) rather than by a radius around a fixed point. My primary use case would be sorting by distance for sure but thought this might be a good addition. |
Geo distance queries (with various units) would be a massive feature 🎉 GET /collections/:collection/documents/search?lat=50&lon=12&distance=12%20km HTTP/1.1 |
For a project I have coming up, I would love to use Typesense but the lack of geosearch is a hurdle. Just a simple distance query as @0xflotus suggested would be great to start with. |
I was also looking to use a hosted version of Typesense for a new project, but the only thing blocking me is the lack of geosearch which is a main feature of my application. A distance based query would be enough for me too. |
Also evaluating Typesense and this is a feature I'd need to see to be able to make the switch. Particular use case is searching for hotels within a certain geographic area, or near a point of interest. Searching within a bounding polygon is important for this scenario. Another thing is to boost the ranking of results based on proximity to a location. Specific use case is searching for points of interest. When a user types ie.. "Zoo", I would want the nearest zoo to be returned based on their geolocation. I'll keep an eye on this issue to see how it progresses. |
Hi @jasonbosco I noticed there is a geosearch branch but it hasn't been touched since January. |
Hi @cboothe, geosearch is definitely still planned! In fact we got about 80% of the work done, but some other high priority requests and issues showed up, so we had to put this on pause, while we tackle those. |
I'm excited to announce a preview build for the geo search feature! Please use this docker image: I've put together a quick guide here: https://gist.github.com/kishorenc/1f537c728f89960048272a03d36bad01 I look forward to hearing your feedback. |
Looks great! Very close to meeting my needs. Will the geo data be available as a ranking signal as well? Ie, I'd like to search for all results by keyword "park" , but have the ones nearest to me returned first. |
@daamsie Yes! You can use the sort_by search parameter to rank based on proximity to a given lat/lng:
|
Works for me! |
Geosearch has shipped as part of |
Would it be possible to add IP-address-based geofencing, similar to |
@nandorojo We're tracking that request as part of #539 |
Just curious about plans for support
The text was updated successfully, but these errors were encountered: