Skip to content

Commit 980d508

Browse files
Update code samples [skip ci]
1 parent 6490cd5 commit 980d508

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

snippets/samples/code_samples_rename_an_index_1.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ curl \
77
--data-binary '{ "uid": "INDEX_B" }'
88
```
99

10+
```python Python
11+
client.index("INDEX_A").update(new_uid="INDEX_B")
12+
```
13+
1014
```java Java
1115
client.updateIndex("indexA", null, "indexB");
1216
```

0 commit comments

Comments
 (0)