We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have an index:
{ index: 'discoveries', mappings: { properties: { id: { type: 'integer' }, description: { type: 'text' }, location: { type: 'geo_point' }, }, }, }
when I run a query like this:
index: 'discoveries', query: { match: { description: { query: 'some text', }, }, }, sort: [ { _geo_distance: { location: [location.longitude, location.latitude], order: 'desc', unit: 'km', mode: 'median', distance_type: 'arc', ignore_unmapped: true, }, }, ], }
This always returns Infinity for the _geo_distance sort... always... Has anyone else experienced this? is there something obvious I'm missing?
The text was updated successfully, but these errors were encountered:
What is the raw JSON response you get for this query if you run it via curl or in the Kibana dev console?
curl
Sorry, something went wrong.
This issue is stale because it has been open 90 days with no activity. Remove the stale label, or leave a comment, or this will be closed in 14 days.
stale
No branches or pull requests
Question
I have an index:
when I run a query like this:
This always returns Infinity for the _geo_distance sort... always...
Has anyone else experienced this? is there something obvious I'm missing?
The text was updated successfully, but these errors were encountered: