We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97fb11e commit 50a5689Copy full SHA for 50a5689
meilisearch/index.py
@@ -2354,19 +2354,3 @@ def compact(self) -> TaskInfo:
2354
path = f"{self.config.paths.index}/{self.uid}/compact"
2355
task = self.http.post(path)
2356
return TaskInfo(**task)
2357
-
2358
- def rename_index(self, new_name: str) -> TaskInfo:
2359
- """
2360
- Rename the current Meilisearch index.
2361
2362
- :param new_name: The new UID for the index.
2363
- :return: TaskInfo with information about the rename operation.
2364
2365
- payload = {"uid": new_name}
2366
2367
- task = self.http.patch(
2368
- f"{self.config.paths.index}/{self.uid}",
2369
- payload,
2370
- )
2371
2372
- return TaskInfo(**task)
0 commit comments