Skip to content

Conversation

@bidoubiwa
Copy link
Contributor

@bidoubiwa bidoubiwa commented Mar 29, 2023

As per the specification: meilisearch/specifications#223

We used to transform the insideBoundingBox provided by instantsearch to a filter using _geoRadius. This required a lot of maths and was not the behavior expected by the user.

With the introduction of the _geoBoundingBox filter in Meilisearch, we can now use that instead of _geoRadius.

⚠️ Search results may differ as the geo search algorithm changed

@bidoubiwa bidoubiwa added the enhancement New feature or request label Mar 29, 2023
@bidoubiwa bidoubiwa requested review from alallema and mdubus March 29, 2023 09:21
@changeset-bot
Copy link

changeset-bot bot commented Mar 29, 2023

🦋 Changeset detected

Latest commit: 193b350

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@meilisearch/instant-meilisearch Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bidoubiwa bidoubiwa force-pushed the add_geoboundbing_filter branch 3 times, most recently from 7ea1edc to ae33491 Compare March 29, 2023 11:56
Copy link
Contributor

@alallema alallema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Just one question

@bidoubiwa bidoubiwa added breaking-change The related changes are breaking for the users and removed enhancement New feature or request labels Mar 29, 2023
@bidoubiwa bidoubiwa force-pushed the add_geoboundbing_filter branch 3 times, most recently from b927bb6 to fd1e115 Compare March 29, 2023 15:46
@bidoubiwa bidoubiwa force-pushed the add_geoboundbing_filter branch from fd1e115 to 193b350 Compare March 30, 2023 11:06
Copy link
Member

@mdubus mdubus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✨🦕

@bidoubiwa bidoubiwa merged commit a91a935 into bump-meilisearch-v1.1.0 Mar 30, 2023
@bidoubiwa bidoubiwa deleted the add_geoboundbing_filter branch March 30, 2023 12:15
bidoubiwa added a commit that referenced this pull request Mar 30, 2023
* Use _geoBoundingBox to create geosearch filters

* Add the _geoBoundingBox changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change The related changes are breaking for the users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants