@@ -34,7 +34,7 @@ The result of the above get operation is:
34
34
--------------------------------------------------
35
35
// TESTRESPONSE[s/"_seq_no" : \d+/"_seq_no" : $body._seq_no/ s/"_primary_term" : 1/"_primary_term" : $body._primary_term/]
36
36
37
- The above result includes the `_index`, `_type`, `_id` and `_version`
37
+ The above result includes the `_index`, `_type`, `_id`, and `_version`
38
38
of the document we wish to retrieve, including the actual `_source`
39
39
of the document if it could be found (as indicated by the `found`
40
40
field in the response).
@@ -76,7 +76,7 @@ GET twitter/_doc/0?_source=false
76
76
// TEST[setup:twitter]
77
77
78
78
If you only need one or two fields from the complete `_source`, you can use the `_source_includes`
79
- & `_source_excludes` parameters to include or filter out that parts you need. This can be especially helpful
79
+ and `_source_excludes` parameters to include or filter out the parts you need. This can be especially helpful
80
80
with large documents where partial retrieval can save on network overhead. Both parameters take a comma separated list
81
81
of fields or wildcard expressions. Example:
82
82
@@ -140,7 +140,7 @@ PUT twitter/_doc/1
140
140
// CONSOLE
141
141
// TEST[continued]
142
142
143
- ... and try to retrieve it:
143
+ And then try to retrieve it:
144
144
145
145
[source,js]
146
146
--------------------------------------------------
@@ -238,7 +238,7 @@ You can also use the same source filtering parameters to control which parts of
238
238
239
239
[source,js]
240
240
--------------------------------------------------
241
- GET twitter/_doc/1/_source?_source_includes=*.id&_source_excludes=entities'
241
+ GET twitter/_doc/1/_source?_source_includes=*.id&_source_excludes=entities
242
242
--------------------------------------------------
243
243
// CONSOLE
244
244
// TEST[continued]
@@ -268,7 +268,7 @@ GET twitter/_doc/2?routing=user1
268
268
// TEST[continued]
269
269
270
270
The above will get a tweet with id `2`, but will be routed based on the
271
- user. Note, issuing a get without the correct routing, will cause the
271
+ user. Note that issuing a get without the correct routing will cause the
272
272
document not to be fetched.
273
273
274
274
[float]
@@ -313,7 +313,7 @@ indexing).
313
313
The get operation gets hashed into a specific shard id. It then gets
314
314
redirected to one of the replicas within that shard id and returns the
315
315
result. The replicas are the primary shard and its replicas within that
316
- shard id group. This means that the more replicas we will have, the
316
+ shard id group. This means that the more replicas we have, the
317
317
better GET scaling we will have.
318
318
319
319
0 commit comments