Qdrant · Schema

ReadConsistency

Read consistency parameter Defines how many replicas should be queried to get the result * `N` - send N random request and return points, which present on all of them * `majority` - send N/2+1 random request and return points, which present on all of them * `quorum` - send requests to all nodes and return points which present on majority of them * `all` - send requests to all nodes and return points which present on all of them Default value is `Factor(1)`

AIArtificial IntelligenceVector Databases
View JSON Schema on GitHub

JSON Schema

qdrant-readconsistency-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReadConsistency",
  "title": "ReadConsistency",
  "description": "Read consistency parameter\n\nDefines how many replicas should be queried to get the result\n\n* `N` - send N random request and return points, which present on all of them\n\n* `majority` - send N/2+1 random request and return points, which present on all of them\n\n* `quorum` - send requests to all nodes and return points which present on majority of them\n\n* `all` - send requests to all nodes and return points which present on all of them\n\nDefault value is `Factor(1)`",
  "anyOf": [
    {
      "type": "integer",
      "format": "uint",
      "minimum": 0
    },
    {
      "$ref": "#/components/schemas/ReadConsistencyType"
    }
  ]
}