pub type PbVectorIndexNearestNode = VectorIndexNearestNode;
Aliased Type§
pub struct PbVectorIndexNearestNode {
pub table_id: u32,
pub info_column_desc: Vec<ColumnDesc>,
pub vector_column_idx: u32,
pub top_n: u32,
pub distance_type: i32,
pub hnsw_ef_search: u32,
}
Fields§
§table_id: u32
The table_id of the vector index to search.
info_column_desc: Vec<ColumnDesc>
The columns of the vector index info.
vector_column_idx: u32
§top_n: u32
The number of nearest neighbors to return.
distance_type: i32
The distance metric to use for the search.
hnsw_ef_search: u32
The ef_search used to query hnsw index