[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:
parent
c4fb0cd6de
commit
e28942d1c1
|
@ -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 %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue