Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ new
Method
new
org/src/cluster_hierarchy.rs:16–18 ·
view source on GitHub ↗
(similarity: f64, vector: Vector)
Source
from the content-addressed store, hash-verified
14
15
impl SearchResult {
16
fn new(similarity: f64, vector: Vector) -> Self {
17
SearchResult { similarity, vector }
18
}
19
}
20
impl Ord for SearchResult {
21
fn cmp(&self, other: &Self) -> Ordering {
Callers
nothing calls this directly
Calls
1
clone
Method · 0.80
Tested by
no test coverage detected