Skip to content

Commit 838bb0b

Browse files
fix superscript (#127147)
1 parent bad35ed commit 838bb0b

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

docs/reference/aggregations/search-aggregations-metrics-max-aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ mapped_pages:
1010
A `single-value` metrics aggregation that keeps track and returns the maximum value among the numeric values extracted from the aggregated documents.
1111

1212
::::{note}
13-
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2^53`.
13+
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2`^`53`^.
1414
::::
1515

1616

docs/reference/aggregations/search-aggregations-metrics-min-aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ mapped_pages:
1010
A `single-value` metrics aggregation that keeps track and returns the minimum value among numeric values extracted from the aggregated documents.
1111

1212
::::{note}
13-
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2^53`.
13+
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2`^`53`^.
1414
::::
1515

1616

docs/reference/elasticsearch/mapping-reference/number.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ mapped_pages:
1010
The following numeric types are supported:
1111

1212
`long`
13-
: A signed 64-bit integer with a minimum value of `-263` and a maximum value of `263-1`.
13+
: A signed 64-bit integer with a minimum value of `-2`^`63`^ and a maximum value of `2`^`63`^`-1`.
1414

1515
`integer`
16-
: A signed 32-bit integer with a minimum value of `-231` and a maximum value of `231-1`.
16+
: A signed 32-bit integer with a minimum value of `-2`^`31`^ and a maximum value of `2`^`31`^`-1`.
1717

1818
`short`
1919
: A signed 16-bit integer with a minimum value of `-32,768` and a maximum value of `32,767`.
@@ -34,7 +34,7 @@ The following numeric types are supported:
3434
: A floating point number that is backed by a `long`, scaled by a fixed `double` scaling factor.
3535

3636
`unsigned_long`
37-
: An unsigned 64-bit integer with a minimum value of 0 and a maximum value of `264-1`.
37+
: An unsigned 64-bit integer with a minimum value of 0 and a maximum value of `2`^`64`^`-1`.
3838

3939
Below is an example of configuring a mapping with numeric fields:
4040

@@ -75,9 +75,9 @@ $$$floating_point$$$
7575

7676
| Type | Minimum value | Maximum value | Significant<br> bits / digits | Example precision loss |
7777
| --- | --- | --- | --- | --- |
78-
| `double` | `2-1074` | `(2-2-52)·21023` | `53` / `15.95` | `1.2345678912345678`→<br> `1.234567891234568` |
79-
| `float` | `2-149` | `(2-2-23)·2127` | `24` / `7.22` | `1.23456789`→<br> `1.2345679` |
80-
| `half_float` | `2-24` | `65504` | `11` / `3.31` | `1.2345`→<br> `1.234375` |
78+
| `double` | `2`^`-1074`^ | `(2-2`^`-52`^`)·2`^`1023`^ | `53` / `15.95` | `1.2345678912345678`→<br> `1.234567891234568` |
79+
| `float` | `2`^`-149`^ | `(2-2`^`-23`^`)·2`^`127`^ | `24` / `7.22` | `1.23456789`→<br> `1.2345679` |
80+
| `half_float` | `2`^`-24`^ | `65504` | `11` / `3.31` | `1.2345`→<br> `1.234375` |
8181

8282
::::{admonition} Mapping numeric identifiers
8383
:class: tip

docs/reference/elasticsearch/mapping-reference/range.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Range field types represent a continuous range of values between an upper and lo
1212
The following range types are supported:
1313

1414
`integer_range`
15-
: A range of signed 32-bit integers with a minimum value of `-231` and maximum of `231-1`.
15+
: A range of signed 32-bit integers with a minimum value of `-2`^`31`^ and maximum of `2`^`31`^`-1`.
1616

1717
`float_range`
1818
: A range of single-precision 32-bit IEEE 754 floating point values.
1919

2020
`long_range`
21-
: A range of signed 64-bit integers with a minimum value of `-263` and maximum of `263-1`.
21+
: A range of signed 64-bit integers with a minimum value of `-2`^`63`^ and maximum of `2`^`63`^`-1`.
2222

2323
`double_range`
2424
: A range of double-precision 64-bit IEEE 754 floating point values.

docs/reference/elasticsearch/mapping-reference/unsigned-long.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mapped_pages:
77
# Unsigned long field type [unsigned-long]
88

99

10-
Unsigned long is a numeric field type that represents an unsigned 64-bit integer with a minimum value of 0 and a maximum value of `264-1` (from 0 to 18446744073709551615 inclusive).
10+
Unsigned long is a numeric field type that represents an unsigned 64-bit integer with a minimum value of 0 and a maximum value of `2`^`64`^`-1` (from 0 to 18446744073709551615 inclusive).
1111

1212
```console
1313
PUT my_index

docs/reference/query-languages/query-dsl/query-dsl-mlt-query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ The only required parameter is `like`, all other parameters have sensible defaul
150150
: The minimum document frequency below which the terms will be ignored from the input document. Defaults to `5`.
151151

152152
`max_doc_freq`
153-
: The maximum document frequency above which the terms will be ignored from the input document. This could be useful in order to ignore highly frequent words such as stop words. Defaults to unbounded (`Integer.MAX_VALUE`, which is `2^31-1` or 2147483647).
153+
: The maximum document frequency above which the terms will be ignored from the input document. This could be useful in order to ignore highly frequent words such as stop words. Defaults to unbounded (`Integer.MAX_VALUE`, which is `2`^`31`^`-1` or 2147483647).
154154

155155
`min_word_length`
156156
: The minimum word length below which the terms will be ignored. Defaults to `0`.

docs/reference/scripting-languages/painless/painless-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ The following primitive types are available. The corresponding reference type is
2828
: 16-bit, unsigned, Unicode character. Range: [`0`, `65535`]. Default: `0` or `\u0000`.
2929

3030
`int` (`Integer`)
31-
: 32-bit, signed, two’s complement integer. Range: [`-2^31`, `2^31-1`]. Default: `0`.
31+
: 32-bit, signed, two’s complement integer. Range: [`-2`^`31`^, `2`^`31`^`-1`]. Default: `0`.
3232

3333
`long` (`Long`)
34-
: 64-bit, signed, two’s complement integer. Range: [`-2^63`, `2^63-1`]. Default: `0`.
34+
: 64-bit, signed, two’s complement integer. Range: [`-2`^`63`^, `2`^`63`^`-1`]. Default: `0`.
3535

3636
`float (`Float`)`
3737
: 32-bit, signed, single-precision, IEEE 754 floating point number. Default `0.0`.

docs/reference/text-analysis/analysis-length-tokenfilter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ PUT length_example
7070
: (Optional, integer) Minimum character length of a token. Shorter tokens are excluded from the output. Defaults to `0`.
7171

7272
`max`
73-
: (Optional, integer) Maximum character length of a token. Longer tokens are excluded from the output. Defaults to `Integer.MAX_VALUE`, which is `2^31-1` or `2147483647`.
73+
: (Optional, integer) Maximum character length of a token. Longer tokens are excluded from the output. Defaults to `Integer.MAX_VALUE`, which is `2`^`31`^`-1` or `2147483647`.
7474

7575

7676
## Customize [analysis-length-tokenfilter-customize]

0 commit comments

Comments
 (0)