Skip to content

Commit 804a295

Browse files
committed
Fix naming of 'spatial datatypes' anchor.
1 parent d50fa6f commit 804a295

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/reference/mapping/types.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ string:: <<text,`text`>>, <<keyword,`keyword`>> and <<wildcard,`wildcard
2222
<<nested>>:: `nested` for arrays of JSON objects
2323

2424
[float]
25-
[[_spatial_datatypes]]
25+
[[spatial_datatypes]]
2626
=== Spatial data types
2727

2828
<<geo-point>>:: `geo_point` for lat/lon points

docs/reference/search/search-fields.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ POST twitter/_search
8989
<2> Using object notation, you can pass a `format` parameter to apply a custom
9090
format for the field's values. The date fields
9191
<<date,`date`>> and <<date_nanos, `date_nanos`>> accept a
92-
<<mapping-date-format,date format>>. <<_spatial_datatypes, Spatial fields>>
92+
<<mapping-date-format,date format>>. <<spatial_datatypes, Spatial fields>>
9393
accept either `geojson` for http://www.geojson.org[GeoJSON] (the default)
9494
or `wkt` for
9595
https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry[Well Known Text].

x-pack/plugin/spatial/src/main/java/org/elasticsearch/xpack/spatial/index/mapper/PointFieldMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public String typeName() {
137137
return CONTENT_TYPE;
138138
}
139139
}
140-
140+
141141
// Eclipse requires the AbstractPointGeometryFieldMapper prefix or it can't find ParsedPoint
142142
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=565255
143143
protected static class ParsedCartesianPoint extends CartesianPoint implements AbstractPointGeometryFieldMapper.ParsedPoint {

0 commit comments

Comments
 (0)