Skip to main content

decode_get_response

Function decode_get_response 

Source
pub fn decode_get_response(data: &[u8]) -> QdrantResult<Vec<ScoredPoint>>
Expand description

Decode a GetResponse protobuf message.

Returns Vec<ScoredPoint> with score = 0.0 for convenience (Get doesn’t have scores, but we reuse the same struct to keep the API simple).