Skip to content

Commit 5aa02c7

Browse files
committed
[DOCS] Make field datatype titles consistent (#43933)
* [DOCS] Make field datatype titles consistent * Add titleabbrev for array
1 parent 462c27f commit 5aa02c7

23 files changed

+79
-13
lines changed

docs/reference/mapping/types.asciidoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,22 @@ include::types/array.asciidoc[]
7979

8080
include::types/binary.asciidoc[]
8181

82-
include::types/range.asciidoc[]
83-
8482
include::types/boolean.asciidoc[]
8583

8684
include::types/date.asciidoc[]
8785

8886
include::types/date_nanos.asciidoc[]
8987

88+
include::types/dense-vector.asciidoc[]
89+
9090
include::types/geo-point.asciidoc[]
9191

9292
include::types/geo-shape.asciidoc[]
9393

9494
include::types/ip.asciidoc[]
9595

96+
include::types/parent-join.asciidoc[]
97+
9698
include::types/keyword.asciidoc[]
9799

98100
include::types/nested.asciidoc[]
@@ -101,20 +103,18 @@ include::types/numeric.asciidoc[]
101103

102104
include::types/object.asciidoc[]
103105

104-
include::types/text.asciidoc[]
105-
106-
include::types/token-count.asciidoc[]
107-
108106
include::types/percolator.asciidoc[]
109107

110-
include::types/parent-join.asciidoc[]
108+
include::types/range.asciidoc[]
111109

112110
include::types/rank-feature.asciidoc[]
113111

114112
include::types/rank-features.asciidoc[]
115113

116-
include::types/dense-vector.asciidoc[]
114+
include::types/search-as-you-type.asciidoc[]
117115

118116
include::types/sparse-vector.asciidoc[]
119117

120-
include::types/search-as-you-type.asciidoc[]
118+
include::types/text.asciidoc[]
119+
120+
include::types/token-count.asciidoc[]

docs/reference/mapping/types/alias.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[[alias]]
22
=== Alias datatype
3+
++++
4+
<titleabbrev>Alias</titleabbrev>
5+
++++
36

47
An `alias` mapping defines an alternate name for a field in the index.
58
The alias can be used in place of the target field in <<search, search>> requests,

docs/reference/mapping/types/binary.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[[binary]]
22
=== Binary datatype
3+
++++
4+
<titleabbrev>Binary</titleabbrev>
5+
++++
36

47
The `binary` type accepts a binary value as a
58
https://en.wikipedia.org/wiki/Base64[Base64] encoded string. The field is not

docs/reference/mapping/types/boolean.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[[boolean]]
22
=== Boolean datatype
3+
++++
4+
<titleabbrev>Boolean</titleabbrev>
5+
++++
36

47
Boolean fields accept JSON `true` and `false` values, but can also accept
58
strings which are interpreted as either true or false:

docs/reference/mapping/types/date.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[[date]]
22
=== Date datatype
3+
++++
4+
<titleabbrev>Date</titleabbrev>
5+
++++
36

47
JSON doesn't have a date datatype, so dates in Elasticsearch can either be:
58

docs/reference/mapping/types/date_nanos.asciidoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[[date_nanos]]
2-
=== date_nanos datatype
2+
=== Date nanoseconds datatype
3+
++++
4+
<titleabbrev>Date nanoseconds</titleabbrev>
5+
++++
36

47
This datatype is an addition to the `date` datatype. However there is an
58
important distinction between the two. The existing `date` datatype stores

docs/reference/mapping/types/dense-vector.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[[dense-vector]]
22
=== Dense vector datatype
3+
++++
4+
<titleabbrev>Dense vector</titleabbrev>
5+
++++
36

47
experimental[]
58

docs/reference/mapping/types/geo-point.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[[geo-point]]
22
=== Geo-point datatype
3+
++++
4+
<titleabbrev>Geo-point</titleabbrev>
5+
++++
36

47
Fields of type `geo_point` accept latitude-longitude pairs, which can be used:
58

docs/reference/mapping/types/geo-shape.asciidoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[[geo-shape]]
2-
=== Geo-Shape datatype
2+
=== Geo-shape datatype
3+
++++
4+
<titleabbrev>Geo-shape</titleabbrev>
5+
++++
36

47
The `geo_shape` datatype facilitates the indexing of and searching
58
with arbitrary geo shapes such as rectangles and polygons. It should be

docs/reference/mapping/types/ip.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[[ip]]
22
=== IP datatype
3+
++++
4+
<titleabbrev>IP</titleabbrev>
5+
++++
36

47
An `ip` field can index/store either https://en.wikipedia.org/wiki/IPv4[IPv4] or
58
https://en.wikipedia.org/wiki/IPv6[IPv6] addresses.

0 commit comments

Comments
 (0)