SET
Insert or update one or more vectors with metadata. Re-inserting an existing key overwrites its value.
Syntax
SET <key> [<float>, ...] WITH { "<meta_key>": "<meta_value>", ... } IN <store_name>SET <key> [<float>, ...] WITH { ... } IN <store_name> SCHEMA analyticsParameters
- The vector length must match the store's dimension.
Example
SET doc1 [0.25, 0.88] WITH { "category": "news", "lang": "en" } IN my_storeSee SDK examples for Python, Node, Go, and Rust.