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

use BoundingBox for geo queries instead of distance / radius #958

Open
joepio opened this issue Jan 25, 2023 · 1 comment
Open

use BoundingBox for geo queries instead of distance / radius #958

joepio opened this issue Jan 25, 2023 · 1 comment
Labels
support Question that may be answered by the support team

Comments

@joepio
Copy link

joepio commented Jan 25, 2023

Currently, using instant-meilisearch combined with a map view, we have some issues related to the use of geo distance queries. Because the resulting shape is a circle, the shape of the map shown to users will either not show all results, or not show some of the results. This becomes a problem when the users can filter the results by moving the map.

The proper solution here is to use a bounding box, instead of geo radius queries. These are not yet officially supported by meilisearch, but are planned for the 1.1 release in march.

I think that when 1.1 is released, instant-meilisearch should be updated to use bounding box queries by default. This probably involves making changes to geo-rules-adapter.ts.

@bidoubiwa bidoubiwa added the support Question that may be answered by the support team label Jan 25, 2023
@oluademola
Copy link

Hello @joepio

Thank you very much for the feedback. Indeed this feature is in the works and will be released with v1.1, as you've mentioned above. The team is well aware of this, and there will be changes to ensure compatibility with instant-meilisearch.

I hope this helps. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Question that may be answered by the support team
Projects
None yet
Development

No branches or pull requests

3 participants