Skip to content

Commit b76d412

Browse files
committed
fixing non escaped ?
1 parent 932c253 commit b76d412

38 files changed

+74
-74
lines changed

docs/reference/aggregations/search-aggregations-bucket-composite-aggregation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ GET /_search
516516
}
517517
}
518518
```
519-
% TEST[s/_search/_search?filter_path=aggregations/]
519+
% TEST[s/_search/_search\?filter_path=aggregations/]
520520

521521
... returns:
522522

@@ -714,7 +714,7 @@ GET /_search
714714
}
715715
}
716716
```
717-
% TEST[s/_search/_search?filter_path=aggregations/]
717+
% TEST[s/_search/_search\?filter_path=aggregations/]
718718

719719
... returns:
720720

docs/reference/aggregations/search-aggregations-bucket-multi-terms-aggregation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ GET /products/_search
3131
}
3232
}
3333
```
34-
% TEST[s/_search/_search?filter_path=aggregations/]
34+
% TEST[s/_search/_search\?filter_path=aggregations/]
3535

3636
1. `multi_terms` aggregation can work with the same field types as a [`terms aggregation`](/reference/aggregations/search-aggregations-bucket-terms-aggregation.md#search-aggregations-bucket-terms-aggregation-order) and supports most of the terms aggregation parameters.
3737

@@ -150,7 +150,7 @@ GET /products/_search
150150
}
151151
}
152152
```
153-
% TEST[s/_search/_search?filter_path=aggregations/]
153+
% TEST[s/_search/_search\?filter_path=aggregations/]
154154

155155
Response:
156156

@@ -220,7 +220,7 @@ GET /products/_search
220220
}
221221
}
222222
```
223-
% TEST[s/_search/_search?filter_path=aggregations/]
223+
% TEST[s/_search/_search\?filter_path=aggregations/]
224224

225225
Response:
226226

@@ -326,7 +326,7 @@ GET /products/_search
326326
}
327327
}
328328
```
329-
% TEST[s/_search/_search?filter_path=aggregations/]
329+
% TEST[s/_search/_search\?filter_path=aggregations/]
330330

331331
```console-result
332332
{

docs/reference/aggregations/search-aggregations-bucket-range-aggregation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ GET sales/_search
3131
}
3232
```
3333
% TEST[setup:sales]
34-
% TEST[s/_search/_search?filter_path=aggregations/]
34+
% TEST[s/_search/_search\?filter_path=aggregations/]
3535

3636
Response:
3737

@@ -89,7 +89,7 @@ GET sales/_search
8989
}
9090
```
9191
% TEST[setup:sales]
92-
% TEST[s/_search/_search?filter_path=aggregations/]
92+
% TEST[s/_search/_search\?filter_path=aggregations/]
9393

9494
Response:
9595

@@ -142,7 +142,7 @@ GET sales/_search
142142
}
143143
```
144144
% TEST[setup:sales]
145-
% TEST[s/_search/_search?filter_path=aggregations/]
145+
% TEST[s/_search/_search\?filter_path=aggregations/]
146146

147147
Response:
148148

@@ -210,7 +210,7 @@ GET sales/_search
210210
}
211211
```
212212
% TEST[setup:sales]
213-
% TEST[s/_search/_search?filter_path=aggregations/]
213+
% TEST[s/_search/_search\?filter_path=aggregations/]
214214

215215

216216
## Sub Aggregations [_sub_aggregations_2]
@@ -242,7 +242,7 @@ GET sales/_search
242242
}
243243
```
244244
% TEST[setup:sales]
245-
% TEST[s/_search/_search?filter_path=aggregations/]
245+
% TEST[s/_search/_search\?filter_path=aggregations/]
246246

247247
Response:
248248

docs/reference/aggregations/search-aggregations-bucket-rare-terms-aggregation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ GET /_search
4949
}
5050
}
5151
```
52-
% TEST[s/_search/_search?filter_path=aggregations/]
52+
% TEST[s/_search/_search\?filter_path=aggregations/]
5353

5454
Response:
5555

@@ -87,7 +87,7 @@ GET /_search
8787
}
8888
}
8989
```
90-
% TEST[s/_search/_search?filter_path=aggregations/]
90+
% TEST[s/_search/_search\?filter_path=aggregations/]
9191

9292
This now shows the "jazz" term which has a `doc_count` of 2":
9393

docs/reference/aggregations/search-aggregations-bucket-reverse-nested-aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ GET /issues/_search
7575
}
7676
```
7777
% TEST[continued]
78-
% TEST[s/_search/_search?filter_path=aggregations/]
78+
% TEST[s/_search/_search\?filter_path=aggregations/]
7979

8080
As you can see above, the `reverse_nested` aggregation is put in to a `nested` aggregation as this is the only place in the dsl where the `reverse_nested` aggregation can be used. Its sole purpose is to join back to a parent doc higher up in the nested structure.
8181

docs/reference/aggregations/search-aggregations-bucket-significantterms-aggregation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ GET /_search
3838
}
3939
}
4040
```
41-
% TEST[s/_search/_search?filter_path=aggregations/]
41+
% TEST[s/_search/_search\?filter_path=aggregations/]
4242

4343
Response:
4444

@@ -63,7 +63,7 @@ Response:
6363
}
6464
```
6565
% TESTRESPONSE[s/\.\.\.//]
66-
% TESTRESPONSE[s/: (0.)?[0-9]+/: $body.$_path/]
66+
% TESTRESPONSE[s/: (0.)\?[0-9]+/: $body.$_path/]
6767

6868
When querying an index of all crimes from all police forces, what these results show is that the British Transport Police force stand out as a force dealing with a disproportionately large number of bicycle thefts. Ordinarily, bicycle thefts represent only 1% of crimes (66799/5064554) but for the British Transport Police, who handle crime on railways and stations, 7% of crimes (3640/47347) is a bike theft. This is a significant seven-fold increase in frequency and so this anomaly was highlighted as the top crime type.
6969

@@ -95,7 +95,7 @@ GET /_search
9595
}
9696
}
9797
```
98-
% TEST[s/_search/_search?filter_path=aggregations/]
98+
% TEST[s/_search/_search\?filter_path=aggregations/]
9999

100100
Response:
101101

@@ -147,7 +147,7 @@ Response:
147147
}
148148
```
149149
% TESTRESPONSE[s/\.\.\.//]
150-
% TESTRESPONSE[s/: (0.)?[0-9]+/: $body.$_path/]
150+
% TESTRESPONSE[s/: (0.)\?[0-9]+/: $body.$_path/]
151151
% TESTRESPONSE[s/: "[^"]*"/: $body.$_path/]
152152

153153
Now we have anomaly detection for each of the police forces using a single request.
@@ -394,7 +394,7 @@ GET /_search
394394
}
395395
}
396396
```
397-
% TEST[s/_search/_search?size=0/]
397+
% TEST[s/_search/_search\?size=0/]
398398

399399

400400

docs/reference/aggregations/search-aggregations-bucket-terms-aggregation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GET /_search
2323
}
2424
}
2525
```
26-
% TEST[s/_search/_search?filter_path=aggregations/]
26+
% TEST[s/_search/_search\?filter_path=aggregations/]
2727

2828
Response:
2929

@@ -124,7 +124,7 @@ GET /_search
124124
}
125125
}
126126
```
127-
% TEST[s/_search/_search?filter_path=aggregations/]
127+
% TEST[s/_search/_search\?filter_path=aggregations/]
128128

129129
These errors can only be calculated in this way when the terms are ordered by descending document count. When the aggregation is ordered by the terms values themselves (either ascending or descending) there is no error in the document count since if a shard does not return a particular term which appears in the results from another shard, it must not have that term in its index. When the aggregation is either sorted by a sub aggregation or in order of ascending document count, the error in the document counts cannot be determined and is given a value of -1 to indicate this.
130130

docs/reference/aggregations/search-aggregations-matrix-stats-aggregation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ GET /_search
5151
}
5252
}
5353
```
54-
% TEST[s/_search/_search?filter_path=aggregations/]
54+
% TEST[s/_search/_search\?filter_path=aggregations/]
5555

5656
The aggregation type is `matrix_stats` and the `fields` setting defines the set of fields (as an array) for computing the statistics. The above request returns the following response:
5757

@@ -97,7 +97,7 @@ The aggregation type is `matrix_stats` and the `fields` setting defines the set
9797
}
9898
```
9999
% TESTRESPONSE[s/\.\.\.//]
100-
% TESTRESPONSE[s/: (-)?[0-9.E]+/: $body.$_path/]
100+
% TESTRESPONSE[s/: (-)\?[0-9.E]+/: $body.$_path/]
101101

102102
The `doc_count` field indicates the number of documents involved in the computation of the statistics.
103103

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ GET latency/_search
9595
}
9696
```
9797
% TEST[setup:latency]
98-
% TEST[s/_search/_search?filter_path=aggregations/]
98+
% TEST[s/_search/_search\?filter_path=aggregations/]
9999
% TEST[s/"timeUnit": 1000/"timeUnit": 10/]
100100

101101

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ GET /exams/_search
125125
}
126126
```
127127
% TEST[setup:exams]
128-
% TEST[s/_search/_search?filter_path=aggregations/]
128+
% TEST[s/_search/_search\?filter_path=aggregations/]
129129

130130

131131
## Missing value [_missing_value_9]

0 commit comments

Comments
 (0)