Skip to content

Commit

Permalink
[Docs] Fix opType options in IndexRequest API example. (#48290)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJF authored and Christoph Büscher committed Oct 22, 2019
1 parent 5ae7453 commit c41951c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java-rest/high-level/document/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
--------------------------------------------------
Expand Down

0 comments on commit c41951c

Please sign in to comment.