younifyd
Menu

Search points matrix distance offsets

Search points matrix distance offsets

POST/collections/{collection_name}/points/search/matrix/offsets

Use it in a workflow

  1. Add a step and choose the Qdrant connector.
  2. Pick the Search points matrix distance offsets action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{searchPointsMatrixDistanceOffsets.response.data}}.

Request

Path parameters

collection_namestringrequired

Name of the collection to search in

Query parameters

consistencyoneOf

Define read consistency guarantees for the operation

timeoutinteger

If set, overrides global timeout for this request. Unit is seconds.

Request body

Enter the body as JSON in the step's Body field.

shard_keyoneOf

Specify in which shards to look for the points, if not specified - look in all shards

filteroneOf

Look only for points which satisfies this conditions

sampleinteger (uint)

How many points to select and search within. Default is 10.

limitinteger (uint)

How many neighbours per sample to find. Default is 3.

usingstring

Define which vector name to use for querying. If missing, the default vector is used.

json
{
  "shard_key": null,
  "filter": null,
  "sample": 0,
  "limit": 0,
  "using": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{searchPointsMatrixDistanceOffsets.response.data.<field>}}.

usageoneOf

Default null

timenumber (float)

Time spent to process this request

statusstring
resultobject
offsets_rowarray<integer (uint64)>required

Row indices of the matrix

offsets_colarray<integer (uint64)>required

Column indices of the matrix

scoresarray<number (float)>required

Scores associated with matrix coordinates

idsarray<oneOf>required

Ids of the points in order

json
{
  "usage": null,
  "time": 0.002,
  "status": "ok",
  "result": {
    "offsets_row": [
      0
    ],
    "offsets_col": [
      0
    ],
    "scores": [
      0
    ],
    "ids": [
      null
    ]
  }
}

Need more? See the Qdrant guide for connection setup and behaviour shared by every action.

Search points matrix distance offsets — Qdrant — Documentation