You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/ops/storages.md
+8-21Lines changed: 8 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,34 +54,21 @@ Here's how CocoIndex data elements map to Qdrant elements during export:
54
54
|-------------------|------------------|
55
55
| an export target | a unique collection |
56
56
| a collected row | a point |
57
-
| a field | a named vector (for fields with vector type); a field within payload (otherwise) |
57
+
| a field | a named vector, if fits into Qdrant vector; or a field within payload otherwise |
58
+
59
+
A vector with `Float32`, `Float64` or `Int64` type, and with fixed dimension, fits into Qdrant vector.
58
60
59
61
#### Spec
60
62
61
63
The spec takes the following fields:
62
64
63
-
*`collection_name` (type: `str`, required): The name of the collection to export the data to.
64
-
65
-
*`grpc_url` (type: `str`, optional): The [gRPC URL](https://qdrant.tech/documentation/interfaces/#grpc-interface) of the Qdrant instance. Defaults to `http://localhost:6334/`.
66
-
67
-
*`api_key` (type: `str`, optional). API key to authenticate requests with.
68
-
69
-
Before exporting, you must create a collection with a [vector name](https://qdrant.tech/documentation/concepts/vectors/#named-vectors) that matches the vector field name in CocoIndex, and set `setup_by_user=True` during export.
65
+
*`connection` (type: [auth reference](../core/flow_def#auth-registry) to `QdrantConnection`, optional): The connection to the Qdrant instance. `QdrantConnection` has the following fields:
66
+
*`grpc_url` (type: `str`): The [gRPC URL](https://qdrant.tech/documentation/interfaces/#grpc-interface) of the Qdrant instance, e.g. `http://localhost:6334/`.
67
+
*`api_key` (type: `str`, optional). API key to authenticate requests with.
70
68
71
-
Example:
69
+
If `connection` is not provided, will use local Qdrant instance at `http://localhost:6334/` by default.
0 commit comments