1
0
Эх сурвалжийг харах

Docs: Fix callouts after _parent removed

Fix the callouts in the docs for the high level rest client after
_parent support was removed.
Nik Everett 7 жил өмнө
parent
commit
0a21533097

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

@@ -1111,8 +1111,8 @@ public class CRUDDocumentationIT extends ESRestHighLevelClientTestCase {
             request.add(new MultiGetRequest.Item("index", "type", "with_routing")
                 .routing("some_routing"));          // <1>
             request.add(new MultiGetRequest.Item("index", "type", "with_version")
-                .versionType(VersionType.EXTERNAL)  // <3>
-                .version(10123L));                  // <4>
+                .versionType(VersionType.EXTERNAL)  // <2>
+                .version(10123L));                  // <3>
             // end::multi-get-request-item-extras
             // tag::multi-get-request-top-level-extras
             request.preference("some_preference");  // <1>

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

@@ -57,9 +57,8 @@ separately in the mappings)
 include-tagged::{doc-tests}/CRUDDocumentationIT.java[multi-get-request-item-extras]
 --------------------------------------------------
 <1> Routing value
-<2> Parent value
-<3> Version
-<4> Version type
+<2> Version
+<3> Version type
 
 {ref}/search-request-preference.html[`preference`],
 {ref}/docs-get.html#realtime[`realtime`]