class
Qdrant::Api::ReadConsistency
- Qdrant::Api::ReadConsistency
- Reference
- Object
Overview
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)
ReadConsistency (OpenAPI anyOf): a value matching at least one of the listed schemas.
Implemented as a thin wrapper that (de)serialises by trying each member in order
(the first that parses wins), so it transparently handles scalar, array and object members.
Defined in:
qdrant-api/models/read_consistency.crConstructors
- .from_json(string_or_io) : self
- .from_json_any(data : JSON::Any) : self
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(value : Int32)
- .new(pull : JSON::PullParser)
- .new(value : ReadConsistencyType)
Class Method Summary
-
.openapi_any_of
List of classes defined in anyOf (OpenAPI v3)