@@ -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`, `_id` and `_version`
37
+ The above result includes the `_index`, `_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
@@ -138,7 +138,7 @@ PUT twitter/_doc/1
138
138
// CONSOLE
139
139
// TEST[continued]
140
140
141
- ... and try to retrieve it:
141
+ And then try to retrieve it:
142
142
143
143
[source,js]
144
144
--------------------------------------------------
@@ -236,7 +236,7 @@ You can also use the same source filtering parameters to control which parts of
236
236
237
237
[source,js]
238
238
--------------------------------------------------
239
- GET twitter/_source/1/?_source_includes=*.id&_source_excludes=entities'
239
+ GET twitter/_source/1/?_source_includes=*.id&_source_excludes=entities
240
240
--------------------------------------------------
241
241
// CONSOLE
242
242
// TEST[continued]
@@ -266,7 +266,7 @@ GET twitter/_doc/2?routing=user1
266
266
// TEST[continued]
267
267
268
268
The above will get a tweet with id `2`, but will be routed based on the
269
- user. Note, issuing a get without the correct routing, will cause the
269
+ user. Note that issuing a get without the correct routing will cause the
270
270
document not to be fetched.
271
271
272
272
[float]
@@ -307,7 +307,7 @@ indexing).
307
307
The get operation gets hashed into a specific shard id. It then gets
308
308
redirected to one of the replicas within that shard id and returns the
309
309
result. The replicas are the primary shard and its replicas within that
310
- shard id group. This means that the more replicas we will have, the
310
+ shard id group. This means that the more replicas we have, the
311
311
better GET scaling we will have.
312
312
313
313
0 commit comments