Skip to content

Commit c41951c

Browse files
AlexJFChristoph Büscher
authored andcommitted
[Docs] Fix opType options in IndexRequest API example. (#48290)
1 parent 5ae7453 commit c41951c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java-rest/high-level/document/index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ include-tagged::{doc-tests-file}[{api}-request-version-type]
8585
include-tagged::{doc-tests-file}[{api}-request-op-type]
8686
--------------------------------------------------
8787
<1> Operation type provided as an `DocWriteRequest.OpType` value
88-
<2> Operation type provided as a `String`: can be `create` or `update` (default)
88+
<2> Operation type provided as a `String`: can be `create` or `index` (default)
8989

9090
["source","java",subs="attributes,callouts,macros"]
9191
--------------------------------------------------

0 commit comments

Comments
 (0)