Skip to content
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

Filter results based on Geo-location field #212

Closed
nicksav opened this issue Dec 11, 2022 · 9 comments
Closed

Filter results based on Geo-location field #212

nicksav opened this issue Dec 11, 2022 · 9 comments
Labels
enhancement New feature or request

Comments

@nicksav
Copy link

nicksav commented Dec 11, 2022

Is your feature request related to a problem? Please describe.
Adding support to filter based on location.

Describe the solution you'd like
As a minimum provide ability to filter results inside a rectangle - boundingBox

Additional context
I think filtering a key here. Yep, search is good, but filters, facets, geo search is highly required.

@micheleriva micheleriva added the enhancement New feature or request label Dec 14, 2022
@micheleriva
Copy link
Member

Hi @nicksav,
that would be a nice feature. Let me ping as soon as we assign it a priority in our roadmap.

Thanks!

@sreenath-n
Copy link

@micheleriva these two features are also very useful in most of the modern apps:

  1. Filter based on center geopoint and radius (Eg. to find restaurants nearby)
  2. Sort results based on distance from a geopoint (Eg. to find restaurants nearby and sort based on nearest first)

Example from Typesense:

'filter_by' : 'location:(48.90615915923891, 2.3435897727061175, 5.1 km)',
'sort_by'   : 'location(48.853, 2.344):asc'

Typesense Doc: https://typesense.org/docs/0.23.1/api/geosearch.html

@felixrichardt
Copy link

+1 for this, is there any update in prio?

@sreenath-n
Copy link

This is the only blocker for us to switch from Typesense to Orama Search.

@imlautaro
Copy link

+1 for this too

@micheleriva
Copy link
Member

Hi y'all. Still to be prioritized, will update this issue as soon as we prioritize it!

@Leanvitale
Copy link

We could also use this update, since it is the only thing that prevents us from implementing Orama in our Startup.

@micheleriva
Copy link
Member

We're on it

@micheleriva
Copy link
Member

This feature is available for preview in v2.0.0-beta.1. Has been implemented with #505. Please try it and give us some feedback! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants