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:
parent
fb81e2cacf
commit
0a21533097
|
@ -1111,8 +1111,8 @@ public class CRUDDocumentationIT extends ESRestHighLevelClientTestCase {
|
||||||
request.add(new MultiGetRequest.Item("index", "type", "with_routing")
|
request.add(new MultiGetRequest.Item("index", "type", "with_routing")
|
||||||
.routing("some_routing")); // <1>
|
.routing("some_routing")); // <1>
|
||||||
request.add(new MultiGetRequest.Item("index", "type", "with_version")
|
request.add(new MultiGetRequest.Item("index", "type", "with_version")
|
||||||
.versionType(VersionType.EXTERNAL) // <3>
|
.versionType(VersionType.EXTERNAL) // <2>
|
||||||
.version(10123L)); // <4>
|
.version(10123L)); // <3>
|
||||||
// end::multi-get-request-item-extras
|
// end::multi-get-request-item-extras
|
||||||
// tag::multi-get-request-top-level-extras
|
// tag::multi-get-request-top-level-extras
|
||||||
request.preference("some_preference"); // <1>
|
request.preference("some_preference"); // <1>
|
||||||
|
|
|
@ -57,9 +57,8 @@ separately in the mappings)
|
||||||
include-tagged::{doc-tests}/CRUDDocumentationIT.java[multi-get-request-item-extras]
|
include-tagged::{doc-tests}/CRUDDocumentationIT.java[multi-get-request-item-extras]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
<1> Routing value
|
<1> Routing value
|
||||||
<2> Parent value
|
<2> Version
|
||||||
<3> Version
|
<3> Version type
|
||||||
<4> Version type
|
|
||||||
|
|
||||||
{ref}/search-request-preference.html[`preference`],
|
{ref}/search-request-preference.html[`preference`],
|
||||||
{ref}/docs-get.html#realtime[`realtime`]
|
{ref}/docs-get.html#realtime[`realtime`]
|
||||||
|
|
Loading…
Reference in New Issue