Skip to content

Commit ee879c9

Browse files
dmeissdanielmitterdorfer
authored andcommitted
Fix wording in Get API docs (#39012)
1 parent 4568c34 commit ee879c9

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`, `_id` and `_version`
37+
The above result includes the `_index`, `_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

@@ -138,7 +138,7 @@ PUT twitter/_doc/1
138138
// CONSOLE
139139
// TEST[continued]
140140

141-
... and try to retrieve it:
141+
And then try to retrieve it:
142142

143143
[source,js]
144144
--------------------------------------------------
@@ -236,7 +236,7 @@ You can also use the same source filtering parameters to control which parts of
236236

237237
[source,js]
238238
--------------------------------------------------
239-
GET twitter/_source/1/?_source_includes=*.id&_source_excludes=entities'
239+
GET twitter/_source/1/?_source_includes=*.id&_source_excludes=entities
240240
--------------------------------------------------
241241
// CONSOLE
242242
// TEST[continued]
@@ -266,7 +266,7 @@ GET twitter/_doc/2?routing=user1
266266
// TEST[continued]
267267

268268
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
270270
document not to be fetched.
271271

272272
[float]
@@ -307,7 +307,7 @@ indexing).
307307
The get operation gets hashed into a specific shard id. It then gets
308308
redirected to one of the replicas within that shard id and returns the
309309
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
311311
better GET scaling we will have.
312312

313313

0 commit comments

Comments
 (0)