Skip to content

Commit

Permalink
[DOCS] Changed shape_field_name to path in geo_shape filter docum…
Browse files Browse the repository at this point in the history
…entation.

Relates to elastic#4486
  • Loading branch information
martijnvg authored and brusic committed Jan 19, 2014
1 parent f2e12ab commit 5f36b8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/query-dsl/filters/geo-shape-filter.asciidoc
Expand Up @@ -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:
Expand All @@ -101,7 +101,7 @@ shape:
"id": "DEU",
"type": "countries",
"index": "shapes",
"shape_field_name": "location"
"path": "location"
}
}
}
Expand Down

0 comments on commit 5f36b8b

Please sign in to comment.