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
[ ] elastic.v7 (for Elasticsearch 7.x)
request like this:
{ "query": { "bool": { "must": { "match_all": {} }, "filter": { "geo_shape": { "location": { "shape": { "type": "point", "coordinates": [ 68.358335, 51.815761 ] }, "relation": "contains" } } } } } }
Thank you!
The text was updated successfully, but these errors were encountered:
@Grandapple You are looking for the Geo-shape query? It's not implemented yet. Here's the 1st reference.
Though it's not nice, you can always fall back to a RawStringQuery in such cases.
RawStringQuery
geoShapeQuery := elastic.RawStringQuery(`{"geo_shape": { "location": { "shape": { "type": "point", "coordinates": [ 68.358335, 51.815761 ] }, "relation": "contains" } }`)
Sorry, something went wrong.
@olivere thanks a lot, you save my time
No branches or pull requests
[ ] elastic.v7 (for Elasticsearch 7.x)
request like this:
Thank you!
The text was updated successfully, but these errors were encountered: