浏览代码

Docs: Add description of the coerce parameter in geo_shape mapper (#43340)

Explains the effect of the coerce parameter on the geo_shape field.

Relates #35059
Igor Motov 6 年之前
父节点
当前提交
77639213bb
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/reference/mapping/types/geo-shape.asciidoc

+ 2 - 0
docs/reference/mapping/types/geo-shape.asciidoc

@@ -108,6 +108,8 @@ geo-points containing any more than latitude and longitude (two dimensions) valu
 and reject the whole document.
 and reject the whole document.
 | `true`
 | `true`
 
 
+|`coerce` |If `true` unclosed linear rings in polygons will be automatically closed.
+| `false`
 
 
 |=======================================================================
 |=======================================================================