Skip to content

Commit 154fc9d

Browse files
authored
doc fix
Update getting-started.md
1 parent dfd0f8e commit 154fc9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Product product = new Product("bk-1", "City bike", 123.0);
168168
esClient.update(u -> u
169169
.index("products")
170170
.id("bk-1")
171-
.upsert(product),
171+
.doc(product),
172172
Product.class
173173
);
174174
```

0 commit comments

Comments
 (0)