Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork77
Open
Description
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-query.html
src/QueryDSL/Query/Geo/GeoDistance
Rather than just requiring agetGeoPointFC(opts) e.g.{ "lat": 127, "lon": 4 }, GeoDistance instead expectstop_left andbottom_right which should only be used in the GeoBoundingBox query.
constsubName=getTypeName('QueryGeoDistanceSettings',opts);constfields=getGeoPointAsFieldConfigMap(opts,opts.getOrCreateITC(subName,()=>({name:subName,fields:{top_left:getGeoPointFC(opts),bottom_right:getGeoPointFC(opts),},})));
Metadata
Metadata
Assignees
Labels
No labels