[Docs] Fix opType options in IndexRequest API example. (#48290)

This commit is contained in:
Alexandre Fonseca 2019-10-22 13:48:24 +02:00 committed by Christoph Büscher
parent 5ae7453878
commit c41951c6b3

View File

@ -85,7 +85,7 @@ include-tagged::{doc-tests-file}[{api}-request-version-type]
include-tagged::{doc-tests-file}[{api}-request-op-type]
--------------------------------------------------
<1> Operation type provided as an `DocWriteRequest.OpType` value
<2> Operation type provided as a `String`: can be `create` or `update` (default)
<2> Operation type provided as a `String`: can be `create` or `index` (default)
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------