Skip to content

Commit f0a2d57

Browse files
dmeissdanielmitterdorfer
authored andcommitted
Fix wording in Get API docs (#39012)
1 parent 3654a15 commit f0a2d57

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/reference/docs/get.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The result of the above get operation is:
3434
--------------------------------------------------
3535
// TESTRESPONSE[s/"_seq_no" : \d+/"_seq_no" : $body._seq_no/ s/"_primary_term" : 1/"_primary_term" : $body._primary_term/]
3636

37-
The above result includes the `_index`, `_type`, `_id` and `_version`
37+
The above result includes the `_index`, `_type`, `_id`, and `_version`
3838
of the document we wish to retrieve, including the actual `_source`
3939
of the document if it could be found (as indicated by the `found`
4040
field in the response).
@@ -76,7 +76,7 @@ GET twitter/_doc/0?_source=false
7676
// TEST[setup:twitter]
7777

7878
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
8080
with large documents where partial retrieval can save on network overhead. Both parameters take a comma separated list
8181
of fields or wildcard expressions. Example:
8282

@@ -140,7 +140,7 @@ PUT twitter/_doc/1
140140
// CONSOLE
141141
// TEST[continued]
142142

143-
... and try to retrieve it:
143+
And then try to retrieve it:
144144

145145
[source,js]
146146
--------------------------------------------------
@@ -238,7 +238,7 @@ You can also use the same source filtering parameters to control which parts of
238238

239239
[source,js]
240240
--------------------------------------------------
241-
GET twitter/_doc/1/_source?_source_includes=*.id&_source_excludes=entities'
241+
GET twitter/_doc/1/_source?_source_includes=*.id&_source_excludes=entities
242242
--------------------------------------------------
243243
// CONSOLE
244244
// TEST[continued]
@@ -268,7 +268,7 @@ GET twitter/_doc/2?routing=user1
268268
// TEST[continued]
269269

270270
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
272272
document not to be fetched.
273273

274274
[float]
@@ -313,7 +313,7 @@ indexing).
313313
The get operation gets hashed into a specific shard id. It then gets
314314
redirected to one of the replicas within that shard id and returns the
315315
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
317317
better GET scaling we will have.
318318

319319

0 commit comments

Comments
 (0)