Skip to content

Commit 9f641dc

Browse files
authored
[DOCS] Fix several Asciidoctor double arrow replacements (#52827)
Per the [Asciidoctor docs][0], Asciidoctor replaces the following syntax with double arrows in the rendered HTML: * => renders as ⇒ * <= renders as ⇐ This escapes several unintended replacements, such as in the Painless docs. Where appropriate, it also replaces some double arrow instances with single arrows for consistency. [0]: https://asciidoctor.org/docs/user-manual/#replacements
1 parent fe08296 commit 9f641dc

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

docs/painless/painless-lang-spec/painless-operators-general.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ value of the variable/field and can result in data loss.
265265
|Remainder|%=
266266
|Addition|+=
267267
|Subtraction|-=
268-
|Left Shift|<<=
268+
|Left Shift|+++<<=+++
269269
|Right Shift|>>=
270270
|Unsigned Right Shift|>>>=
271271
|Bitwise And|&=

docs/painless/painless-lang-spec/painless-operators.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ is evaluated. The following table lists all available operators:
4545
| <<greater-than-operator, Greater Than>> | <<painless-operators-boolean, Boolean>> | > | 7 | left -> right
4646
| <<greater-than-or-equal-operator, Greater Than Or Equal>> | <<painless-operators-boolean, Boolean>> | >= | 7 | left -> right
4747
| <<less-than-operator, Less Than>> | <<painless-operators-boolean, Boolean>> | < | 7 | left -> right
48-
| <<less-than-or-equal-operator, Less Than Or Equal>> | <<painless-operators-boolean, Boolean>> | <= | 7 | left -> right
48+
| <<less-than-or-equal-operator, Less Than Or Equal>> | <<painless-operators-boolean, Boolean>> | +++<=+++ | 7 | left -> right
4949
| <<instanceof-operator, Instanceof>> | <<painless-operators-boolean, Boolean>> | instanceof | 8 | left -> right
5050
| <<equality-equals-operator, Equality Equals>> | <<painless-operators-boolean, Boolean>> | == | 9 | left -> right
5151
| <<equality-not-equals-operator, Equality Not Equals>> | <<painless-operators-boolean, Boolean>> | != | 9 | left -> right

docs/reference/analysis/tokenfilters/synonym-graph-tokenfilter.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ PUT /test_index
8888
--------------------------------------------------
8989

9090
With the above request the word `bar` gets skipped but a mapping `foo => baz` is still added. However, if the mapping
91-
being added was "foo, baz => bar" nothing would get added to the synonym list. This is because the target word for the
91+
being added was `foo, baz => bar` nothing would get added to the synonym list. This is because the target word for the
9292
mapping is itself eliminated because it was a stop word. Similarly, if the mapping was "bar, foo, baz" and `expand` was
9393
set to `false` no mapping would get added as when `expand=false` the target mapping is the first word. However, if
9494
`expand=true` then the mappings added would be equivalent to `foo, baz => foo, baz` i.e, all mappings other than the

docs/reference/analysis/tokenfilters/synonym-tokenfilter.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ PUT /test_index
7878
--------------------------------------------------
7979

8080
With the above request the word `bar` gets skipped but a mapping `foo => baz` is still added. However, if the mapping
81-
being added was "foo, baz => bar" nothing would get added to the synonym list. This is because the target word for the
81+
being added was `foo, baz => bar` nothing would get added to the synonym list. This is because the target word for the
8282
mapping is itself eliminated because it was a stop word. Similarly, if the mapping was "bar, foo, baz" and `expand` was
8383
set to `false` no mapping would get added as when `expand=false` the target mapping is the first word. However, if
8484
`expand=true` then the mappings added would be equivalent to `foo, baz => foo, baz` i.e, all mappings other than the

docs/reference/analysis/tokenfilters/word-delimiter-graph-tokenfilter.asciidoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,39 +32,39 @@ Parameters include:
3232

3333
`generate_word_parts`::
3434
If `true` causes parts of words to be
35-
generated: "PowerShot" => "Power" "Shot". Defaults to `true`.
35+
generated: "PowerShot" -> "Power" "Shot". Defaults to `true`.
3636

3737
`generate_number_parts`::
3838
If `true` causes number subwords to be
39-
generated: "500-42" => "500" "42". Defaults to `true`.
39+
generated: "500-42" -> "500" "42". Defaults to `true`.
4040

4141
`catenate_words`::
4242
If `true` causes maximum runs of word parts to be
43-
catenated: "wi-fi" => "wifi". Defaults to `false`.
43+
catenated: "wi-fi" -> "wifi". Defaults to `false`.
4444

4545
`catenate_numbers`::
4646
If `true` causes maximum runs of number parts to
47-
be catenated: "500-42" => "50042". Defaults to `false`.
47+
be catenated: "500-42" -> "50042". Defaults to `false`.
4848

4949
`catenate_all`::
5050
If `true` causes all subword parts to be catenated:
51-
"wi-fi-4000" => "wifi4000". Defaults to `false`.
51+
"wi-fi-4000" -> "wifi4000". Defaults to `false`.
5252

5353
`split_on_case_change`::
5454
If `true` causes "PowerShot" to be two tokens;
5555
("Power-Shot" remains two parts regards). Defaults to `true`.
5656

5757
`preserve_original`::
5858
If `true` includes original words in subwords:
59-
"500-42" => "500-42" "500" "42". Defaults to `false`.
59+
"500-42" -> "500-42" "500" "42". Defaults to `false`.
6060

6161
`split_on_numerics`::
6262
If `true` causes "j2se" to be three tokens; "j"
6363
"2" "se". Defaults to `true`.
6464

6565
`stem_english_possessive`::
6666
If `true` causes trailing "'s" to be
67-
removed for each subword: "O'Neil's" => "O", "Neil". Defaults to `true`.
67+
removed for each subword: "O'Neil's" -> "O", "Neil". Defaults to `true`.
6868

6969
Advance settings include:
7070

docs/reference/analysis/tokenfilters/word-delimiter-tokenfilter.asciidoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,39 +20,39 @@ Parameters include:
2020

2121
`generate_word_parts`::
2222
If `true` causes parts of words to be
23-
generated: "Power-Shot", "(Power,Shot)" => "Power" "Shot". Defaults to `true`.
23+
generated: "Power-Shot", "(Power,Shot)" -> "Power" "Shot". Defaults to `true`.
2424

2525
`generate_number_parts`::
2626
If `true` causes number subwords to be
27-
generated: "500-42" => "500" "42". Defaults to `true`.
27+
generated: "500-42" -> "500" "42". Defaults to `true`.
2828

2929
`catenate_words`::
3030
If `true` causes maximum runs of word parts to be
31-
catenated: "wi-fi" => "wifi". Defaults to `false`.
31+
catenated: "wi-fi" -> "wifi". Defaults to `false`.
3232

3333
`catenate_numbers`::
3434
If `true` causes maximum runs of number parts to
35-
be catenated: "500-42" => "50042". Defaults to `false`.
35+
be catenated: "500-42" -> "50042". Defaults to `false`.
3636

3737
`catenate_all`::
3838
If `true` causes all subword parts to be catenated:
39-
"wi-fi-4000" => "wifi4000". Defaults to `false`.
39+
"wi-fi-4000" -> "wifi4000". Defaults to `false`.
4040

4141
`split_on_case_change`::
4242
If `true` causes "PowerShot" to be two tokens;
4343
("Power-Shot" remains two parts regards). Defaults to `true`.
4444

4545
`preserve_original`::
4646
If `true` includes original words in subwords:
47-
"500-42" => "500-42" "500" "42". Defaults to `false`.
47+
"500-42" -> "500-42" "500" "42". Defaults to `false`.
4848

4949
`split_on_numerics`::
5050
If `true` causes "j2se" to be three tokens; "j"
5151
"2" "se". Defaults to `true`.
5252

5353
`stem_english_possessive`::
5454
If `true` causes trailing "'s" to be
55-
removed for each subword: "O'Neil's" => "O", "Neil". Defaults to `true`.
55+
removed for each subword: "O'Neil's" -> "O", "Neil". Defaults to `true`.
5656

5757
Advance settings include:
5858

docs/reference/mapping/types/parent-join.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ within the document (`my_parent`, `my_child`, ...).
151151
It also creates one field per parent/child relation.
152152
The name of this field is the name of the `join` field followed by `#` and the
153153
name of the parent in the relation.
154-
So for instance for the `my_parent` => [`my_child`, `another_child`] relation,
154+
So for instance for the `my_parent` -> [`my_child`, `another_child`] relation,
155155
the `join` field creates an additional field named `my_join_field#my_parent`.
156156

157157
This field contains the parent `_id` that the document links to

docs/reference/sql/language/syntax/lexic/index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ s|Description
183183
|
184184
|range containment, string matching
185185

186-
|< > <= >= = <=> <> !=
186+
|+++< > <= >= = <=> <> !=+++
187187
|
188188
|comparison
189189

0 commit comments

Comments
 (0)