Skip to content

support _geoBoundingBox in filterExpression parameter #297

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

Merged
merged 1 commit into from
Apr 29, 2023

Conversation

ahmednfwela
Copy link
Collaborator

Pull Request

Related issue

Related to #267

What does this PR do?

  • this adds support for _geoBoundingBox in filterExpression

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

cc @brunoocasali

Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

🎉 🎉

@@ -76,6 +76,20 @@ class Meili {
distanceInMeters,
);

//TODO(ahmednfwela): rework this method after Dart 3 lands with patterns
Copy link
Member

Choose a reason for hiding this comment

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

If we adopt Dart 3, it will means that we will have to drop support for Dart 2, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes we will, but at the same time upgrading from dart 2 to dart 3 should be a no-cost operation, unless you are still using non null-safe code, which this package doesn't support anyway

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

but we can leave that discussion until dart 3 lands, since only time will tell :)

@brunoocasali brunoocasali added the enhancement New feature or request label Apr 28, 2023
Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

Thanks @ahmednfwela 🎉

bors merge

@bors
Copy link
Contributor

bors bot commented Apr 29, 2023

Build succeeded:

@bors bors bot merged commit 1f46377 into meilisearch:main Apr 29, 2023
@ahmednfwela ahmednfwela deleted the geoBoundingBox branch April 29, 2023 16:55
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

Successfully merging this pull request may close these issues.

2 participants