From 5f31749fdd4b07a6ceb4e8b9bd85427c0a0e3e30 Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Tue, 16 Jan 2018 20:36:38 +0100 Subject: [PATCH] Http request retry wait more and more time --- .../src/test/misc/test_geo_distance.sh | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 duniter4j-es-assembly/src/test/misc/test_geo_distance.sh diff --git a/duniter4j-es-assembly/src/test/misc/test_geo_distance.sh b/duniter4j-es-assembly/src/test/misc/test_geo_distance.sh new file mode 100755 index 00000000..30c7538d --- /dev/null +++ b/duniter4j-es-assembly/src/test/misc/test_geo_distance.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +curl -XPOST 'https://g1.data.duniter.fr/page/record/_search?pretty&_source=title' -d ' + { + "size": 100, + "query": { + "bool": { + "filter": [{ + "geo_distance": { + "distance": "500km", + "geoPoint": { + "lat": 47.2186371, + "lon": -1.5541362 + } + } + }] + } + } + }' + -- GitLab