Преглед на файлове

[DOCS] Changed `shape_field_name` to `path` in geo_shape filter documentation.

Relates to #4486
Martijn van Groningen преди 11 години
родител
ревизия
eb86a3a6fe
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      docs/reference/query-dsl/filters/geo-shape-filter.asciidoc

+ 3 - 3
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"
                     }
                 }
             }