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

Support rectangular or arbitrary shapes in geo location filtering #32683

Open
vslaykovsky opened this issue Oct 27, 2024 · 2 comments
Open

Support rectangular or arbitrary shapes in geo location filtering #32683

vslaykovsky opened this issue Oct 27, 2024 · 2 comments
Assignees
Milestone

Comments

@vslaykovsky
Copy link

Is your feature request related to a problem? Please describe.
Need to filter documents by geo areas with shapes different from circles.
E.g. filter all documents from California.

Describe the solution you'd like
Define area using rectangular box coordinates or using a polygon (sequence of points)

Describe alternatives you've considered
Use multiple geoLocation conditions combined using OR.

@bjormel
Copy link
Member

bjormel commented Oct 29, 2024

Have you considered storing the location names/logical id in a separate field, used for filtering, and then use Geo search ranking features for ranking?

Ranking from a position match

@vslaykovsky
Copy link
Author

Thanks, this is another alternative, though it's still more convenient to have support of arbitrary shapes here as logical IDs may come from multiple different map scales and quickly become unmanagable in our use case.

@hmusum hmusum added this to the later milestone Oct 30, 2024
@hmusum hmusum self-assigned this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants