younifyd
Menu

Search points matrix distance pairs

Search points matrix distance pairs

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

Use it in a workflow

  1. Add a step and choose the Qdrant connector.
  2. Pick the Search points matrix distance pairs action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{searchPointsMatrixDistancePairs.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 {{searchPointsMatrixDistancePairs.response.data.<field>}}.

usageoneOf

Default null

timenumber (float)

Time spent to process this request

statusstring
resultobject
pairsarray<object>required3 fields

List of pairs of points with scores

json
{
  "usage": null,
  "time": 0.002,
  "status": "ok",
  "result": {
    "pairs": [
      {
        "a": null,
        "b": null,
        "score": 0
      }
    ]
  }
}

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