Docs: Fix callouts after _parent removed

Fix the callouts in the docs for the high level rest client after
_parent support was removed.
This commit is contained in:
Nik Everett 2018-04-11 10:13:54 -04:00
parent fb81e2cacf
commit 0a21533097
2 changed files with 4 additions and 5 deletions

View File

@ -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>

View File

@ -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`]