fix: geo.point has wrong mapping

This commit is contained in:
2024-06-28 14:10:41 +02:00
committed by Rainer Killinger
parent 142079bf0e
commit 67ab1fd613
5 changed files with 10 additions and 13 deletions

View File

@@ -466,7 +466,7 @@ describe('Query', function () {
const expectedFilter: QueryDslSpecificQueryContainer<'geo_distance'> = {
geo_distance: {
'distance': '1000m',
'geo.point.coordinates': {
'geo.point': {
lat: 8.123,
lon: 50.123,
},
@@ -636,7 +636,7 @@ describe('Query', function () {
'mode': 'avg',
'order': 'desc',
'unit': 'm',
'geo.point.coordinates': {
'geo.point': {
lat: 50.123,
lon: 8.123,
},