mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-05 02:48:30 +02:00
correct spelling from shapshot to snapshot in the documentation
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@
|
||||
curl -X POST 'http://qdrant-node-1:6333/collections/{collection_name}/snapshots/upload?priority=snapshot' \
|
||||
-H 'api-key: ********' \
|
||||
-H 'Content-Type:multipart/form-data' \
|
||||
-F 'snapshot=@/path/to/snapshot-2022-10-10.shapshot'
|
||||
-F 'snapshot=@/path/to/snapshot-2022-10-10.snapshot'
|
||||
```
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
```http
|
||||
PUT /collections/{collection_name}/snapshots/recover
|
||||
{
|
||||
"location": "http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.shapshot",
|
||||
"location": "http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.snapshot",
|
||||
"priority": "snapshot"
|
||||
}
|
||||
```
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ client = QdrantClient(url="http://qdrant-node-2:6333")
|
||||
|
||||
client.recover_snapshot(
|
||||
"{collection_name}",
|
||||
"http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.shapshot",
|
||||
"http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.snapshot",
|
||||
priority=models.SnapshotPriority.SNAPSHOT,
|
||||
)
|
||||
```
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import { QdrantClient } from "@qdrant/js-client-rest";
|
||||
const client = new QdrantClient({ host: "localhost", port: 6333 });
|
||||
|
||||
client.recoverSnapshot("{collection_name}", {
|
||||
location: "http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.shapshot",
|
||||
location: "http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.snapshot",
|
||||
priority: "snapshot"
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user