[Fix typo] Fix typo on java.md sample code (#5567)

Fix typo on java.md sample code

Signed-off-by: kyeoneee <23250881+kiyeoneee@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
This commit is contained in:
kyeoneee 2023-11-15 02:14:51 +09:00 committed by GitHub
parent c4fb0cd6de
commit e28942d1c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ client.indices().create(createIndexRequest);
IndexSettings indexSettings = new IndexSettings.Builder().autoExpandReplicas("0-all").build(); IndexSettings indexSettings = new IndexSettings.Builder().autoExpandReplicas("0-all").build();
PutIndicesSettingsRequest putIndicesSettingsRequest = new PutIndicesSettingsRequest.Builder().index(index).value(indexSettings).build(); PutIndicesSettingsRequest putIndicesSettingsRequest = new PutIndicesSettingsRequest.Builder().index(index).value(indexSettings).build();
client.indices().putSettings(PutIndicesSettingsRequest); client.indices().putSettings(putIndicesSettingsRequest);
``` ```
{% include copy.html %} {% include copy.html %}