Skip to content

Commit bd455a5

Browse files
colleenmcginnisgeorgewallace
authored andcommitted
clean up
1 parent 55ed42d commit bd455a5

24 files changed

+7
-64
lines changed

docs/reference/elasticsearch/index-settings/index-block.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ The following example shows how to add an index block:
131131
```console
132132
PUT /my-index-000001/_block/write
133133
```
134+
% TEST[setup:my_index]
134135

135136
The API returns following response:
136137

docs/reference/elasticsearch/mapping-reference/aggregate-metric-double.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ PUT idx/_doc/1
250250
}
251251
}
252252
```
253-
% TEST[s/^/{"_source":/ s/\n$/}/]
254253
% TEST[s/$/\nGET idx/_doc/1?filter_path=_source\n/]
255254

256255
Will become:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ PUT idx/_doc/1
151151
"kwd": ["foo", "foo", "bar", "baz"]
152152
}
153153
```
154-
% TEST[s/^/{"_source":/ s/\n$/}/]
155154
% TEST[s/$/\nGET idx/_doc/1?filter_path=_source\n/]
156155

157156
Will become:
@@ -199,6 +198,7 @@ Will become:
199198
"kwd": ["foo", "foo", "bar", "baz"]
200199
}
201200
```
201+
% TEST[s/^/{"_source":/ s/\n$/}/]
202202

203203
Values longer than `ignore_above` are preserved but sorted to the end. For example:
204204

docs/reference/elasticsearch/mapping-reference/mapping-source-field.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ PUT idx_keep/_doc/1
246246
"ids": [ 200, 100, 300, 100 ]
247247
}
248248
```
249-
% TEST[s/^/{"_source":/ s/\n$/}/]
250249
% TEST[s/$/\nGET idx_keep/_doc/1?filter_path=_source\n/]
251250

252251
returns the original source, with no array deduplication and sorting:
@@ -263,6 +262,7 @@ returns the original source, with no array deduplication and sorting:
263262
"ids": [ 200, 100, 300, 100 ]
264263
}
265264
```
265+
% TEST[s/^/{"_source":/ s/\n$/}/]
266266

267267
The option for capturing the source of arrays can be applied at index level, by setting `index.mapping.synthetic_source_keep` to `arrays`. This applies to all objects and fields in the index, except for the ones with explicit overrides of `synthetic_source_keep` set to `none`. In this case, the storage overhead grows with the number and sizes of arrays present in source of each document, naturally.
268268

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ The result produced by the above query.
121121
}
122122
```
123123
% TESTRESPONSE[s/"took": 13/"took" : $body.took/]
124-
% TESTRESPONSE[s/"took": 13/"took" : $body.took/]
125124

126125
The following is an example of a `date_range` query over the `date_range` field named "time_frame".
127126

@@ -180,6 +179,7 @@ This query produces a similar result:
180179
}
181180
}
182181
```
182+
% TESTRESPONSE[s/"took": 13/"took" : $body.took/]
183183

184184
## IP Range [ip-range]
185185

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ PUT idx/_doc/1
144144
]
145145
}
146146
```
147-
% TEST[s/^/{"_source":/ s/\n$/}/]
148147
% TEST[s/$/\nGET idx/_doc/1?filter_path=_source\n/]
149148

150149
Will become:

docs/reference/enrich-processor/ingest-geo-grid-processor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ PUT geocells/_doc/1?pipeline=geohex2shape
125125
GET geocells/_doc/1
126126
```
127127
% TEST[continued]
128-
% TEST[continued]
129128

130129
The response shows how the ingest-processor has replaced the `geocell` field with an indexable `geo_shape`:
131130

@@ -183,6 +182,7 @@ PUT geocells/_doc/1?pipeline=geohex2shape
183182

184183
GET geocells/_doc/1
185184
```
185+
% TEST[continued]
186186

187187
The response from this index request:
188188

docs/reference/search-connectors/api-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,6 @@ Use the [Get sync job API](https://www.elastic.co/docs/api/doc/elasticsearch/ope
349349
GET _connector/_sync_job?connector_id=my-connector-id&size=1
350350
```
351351
% TEST[skip:TODO]
352-
% TEST[skip:TODO]
353352

354353
The job document will be updated as the sync progresses, you can check it as often as you’d like to poll for updates.
355354

@@ -377,6 +376,7 @@ Use the following command to inspect the latest sync job’s status:
377376
```console
378377
GET _connector/_sync_job?connector_id=my-connector-id&size=1
379378
```
379+
% TEST[skip:TODO]
380380

381381
If the connector encountered any errors during the sync, you’ll find these in the `error` field.
382382

docs/reference/search-connectors/es-connectors-confluence.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ This connector supports [advanced sync rules](/reference/search-connectors/es-sy
311311
]
312312
```
313313
% NOTCONSOLE
314-
% NOTCONSOLE
315314

316315
**Example 2**: Queries for indexing data based on `created` and `lastmodified` time.
317316

@@ -326,7 +325,6 @@ This connector supports [advanced sync rules](/reference/search-connectors/es-sy
326325
]
327326
```
328327
% NOTCONSOLE
329-
% NOTCONSOLE
330328

331329
**Example 3**: Query for indexing only given types in a **Space** with key *SD*.
332330

@@ -338,7 +336,6 @@ This connector supports [advanced sync rules](/reference/search-connectors/es-sy
338336
]
339337
```
340338
% NOTCONSOLE
341-
% NOTCONSOLE
342339

343340
::::{note}
344341
Syncing recently created/updated items in Confluence may be delayed when using advanced sync rules, because the search endpoint used for CQL queries returns stale results in the response. For more details refer to the following issue in the [Confluence documentation](https://jira.atlassian.com/browse/CONFCLOUD-73997).

docs/reference/search-connectors/es-connectors-dropbox.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ $$$es-connectors-dropbox-client-sync-rules-advanced-example-1$$$
341341
]
342342
```
343343
% NOTCONSOLE
344-
% NOTCONSOLE
345344

346345
$$$es-connectors-dropbox-client-sync-rules-advanced-example-2$$$
347346
**Example: Query with file extension filter**
@@ -360,7 +359,6 @@ $$$es-connectors-dropbox-client-sync-rules-advanced-example-2$$$
360359
]
361360
```
362361
% NOTCONSOLE
363-
% NOTCONSOLE
364362

365363
$$$es-connectors-dropbox-client-sync-rules-advanced-example-3$$$
366364
**Example: Query with file category filter**
@@ -383,7 +381,6 @@ $$$es-connectors-dropbox-client-sync-rules-advanced-example-3$$$
383381
]
384382
```
385383
% NOTCONSOLE
386-
% NOTCONSOLE
387384

388385
$$$es-connectors-dropbox-client-sync-rules-advanced-limitations$$$
389386
**Limitations**

0 commit comments

Comments
 (0)