Points

Update vectors

Update specified named vectors on points, keep unspecified vectors intact.

put/collections/{collection_name}/points/vectors

Path parameters

collection_namestring required

Name of the collection to update from

Query parameters

waitboolean

If true, wait for changes to actually happen

ordering'weak' | 'medium' | 'strong'

Defines write ordering guarantees for collection operations

  • weak - write operations may be reordered, works faster, default

  • medium - write operations go through dynamically selected leader, may be inconsistent for a short period of time in case of leader change

  • strong - Write operations go through the permanent leader, consistent, but may be unavailable if leader is down

define ordering guarantees for the operation

Request body

Example request

{
  "points": [
    {
      "id": 42,
      "vector": [
        0.875,
        0.140625,
        0.897599995136261
      ]
    }
  ],
  "shard_key": "region_1"
}

Response

successful operation

timenumber float

Time spent to process this request

statusstring

Example response

{
  "time": 0.002,
  "status": "ok"
}

Changes