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
_geoPoint and _geoRadius not working #4628
Comments
Hey @skalra90, could you run your search request again but with the ranking score details enabled and share the output here so I can see what’s going on? Also, if your data are public, it would be nice if you could share a dump with me |
Hey @irevoire
Earlier _geoPoint and _geoRadius was working for airports only. Now the problem I am facing is that the population sort doesn't seem to work and also takes a lot of time, may be it contains 0 as population for many cities but I didn't read anywhere that it doesn't work for 0 values. |
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 <[email protected]> Co-authored-by: ManyTheFish <[email protected]>
Closed by #4642 |
Here is my code:
results contains all airports not sorted by distance.
Checked all documents and found no invalid entry:
First document always with airport_id 1:
Same is for _geoRadius, no matter how big radius I make it returns no results.
Originally posted by @skalra90 in #4334 (reply in thread)
The text was updated successfully, but these errors were encountered: