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

v1.8.0 _geoRadius filter returns no results #4640

Closed
bcicen opened this issue May 19, 2024 · 1 comment
Closed

v1.8.0 _geoRadius filter returns no results #4640

bcicen opened this issue May 19, 2024 · 1 comment
Labels
bug Something isn't working as expected v1.8.1 PRs/issues solved in v1.8.1
Milestone

Comments

@bcicen
Copy link

bcicen commented May 19, 2024

Following the exact example steps in the geosearch guide, a search using only _geoRadius filter will consistently return no results:

curl \
  -X POST 'http://localhost:7700/indexes/restaurants/search' \
  -H 'Content-type:application/json' \
  --data-binary '{ "filter": "_geoRadius(45.472735, 9.184019, 2000)" }'

The same request returns results as expected on v1.7.6.

In both versions, _geoBoundingBox works as expected.

@curquiza curquiza added the bug Something isn't working as expected label May 20, 2024
@irevoire irevoire added this to the v1.8.1 milestone May 20, 2024
meili-bors bot added a commit that referenced this issue May 21, 2024
4642: Index the _geo fields when changing the setting while there is already documents in the DB r=ManyTheFish a=irevoire

# Pull Request

## Related issue
Fixes #4640
Fixes #4628

## What does this PR do?
- Add an integration test that first indexes the document and then changes the settings
- Fix `extract_geo_point` by detecting if the `_geo` field has been faceted in this setting change and index all documents

Co-authored-by: Tamo <tamo@meilisearch.com>
Co-authored-by: ManyTheFish <many@meilisearch.com>
@ManyTheFish
Copy link
Member

fixed by #4642

@meili-bot meili-bot added the v1.8.1 PRs/issues solved in v1.8.1 label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected v1.8.1 PRs/issues solved in v1.8.1
Projects
None yet
Development

No branches or pull requests

5 participants