Skip to content

Commit 0a21533

Browse files
committed
Docs: Fix callouts after _parent removed
Fix the callouts in the docs for the high level rest client after _parent support was removed.
1 parent fb81e2c commit 0a21533

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/CRUDDocumentationIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,8 +1111,8 @@ public void testMultiGet() throws Exception {
11111111
request.add(new MultiGetRequest.Item("index", "type", "with_routing")
11121112
.routing("some_routing")); // <1>
11131113
request.add(new MultiGetRequest.Item("index", "type", "with_version")
1114-
.versionType(VersionType.EXTERNAL) // <3>
1115-
.version(10123L)); // <4>
1114+
.versionType(VersionType.EXTERNAL) // <2>
1115+
.version(10123L)); // <3>
11161116
// end::multi-get-request-item-extras
11171117
// tag::multi-get-request-top-level-extras
11181118
request.preference("some_preference"); // <1>

docs/java-rest/high-level/document/multi-get.asciidoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ separately in the mappings)
5757
include-tagged::{doc-tests}/CRUDDocumentationIT.java[multi-get-request-item-extras]
5858
--------------------------------------------------
5959
<1> Routing value
60-
<2> Parent value
61-
<3> Version
62-
<4> Version type
60+
<2> Version
61+
<3> Version type
6362

6463
{ref}/search-request-preference.html[`preference`],
6564
{ref}/docs-get.html#realtime[`realtime`]

0 commit comments

Comments
 (0)