From d49ed934886e303260318c722747377cca8a9614 Mon Sep 17 00:00:00 2001 From: Britta Weber Date: Fri, 8 Aug 2014 11:25:14 +0200 Subject: [PATCH] Docs: md -> asciidoc --- docs/reference/search/request/sort.asciidoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/reference/search/request/sort.asciidoc b/docs/reference/search/request/sort.asciidoc index d5c3e6c6c51..86d49d1b13a 100644 --- a/docs/reference/search/request/sort.asciidoc +++ b/docs/reference/search/request/sort.asciidoc @@ -281,11 +281,12 @@ added[1.4.0] Multiple geo points can be passed as an array containing any `geo_point` format, for example -``` +[source,js] +-------------------------------------------------- "pin.location" : [[-70, 40], [-71, 42]] "pin.location" : [{"lat": -70, "lon": 40}, {"lat": -71, "lon": 42}] +-------------------------------------------------- -``` and so forth. The final distance for a document will then be `min`/`max` distance of all points contained in the document to all points given in the sort request.