From 5f36b8b28c2a8585f08b857dbf19b28f23848b91 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Mon, 23 Dec 2013 11:27:06 +0100 Subject: [PATCH] [DOCS] Changed `shape_field_name` to `path` in geo_shape filter documentation. Relates to #4486 --- docs/reference/query-dsl/filters/geo-shape-filter.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/query-dsl/filters/geo-shape-filter.asciidoc b/docs/reference/query-dsl/filters/geo-shape-filter.asciidoc index d1072dcb27a6b..f97e798990fe3 100644 --- a/docs/reference/query-dsl/filters/geo-shape-filter.asciidoc +++ b/docs/reference/query-dsl/filters/geo-shape-filter.asciidoc @@ -81,8 +81,8 @@ each time. In this situation it is only necessary to provide: * `index` - Name of the index where the pre-indexed shape is. Defaults to 'shapes'. * `type` - Index type where the pre-indexed shape is. -* `shape_field_name` - Name of the field in the document containing the -pre-indexed shape. Defaults to 'shape'. +* `path` - The field specified as path containing the pre-indexed shape. +Defaults to 'shape'. The following is an example of using the Filter with a pre-indexed shape: @@ -101,7 +101,7 @@ shape: "id": "DEU", "type": "countries", "index": "shapes", - "shape_field_name": "location" + "path": "location" } } }