pub type PbVectorIndexReaderDesc = VectorIndexReaderDesc;Aliased Type§
pub struct PbVectorIndexReaderDesc {
pub table_id: u32,
pub info_column_desc: Vec<ColumnDesc>,
pub info_output_indices: Vec<u32>,
pub include_distance: bool,
pub top_n: u32,
pub distance_type: i32,
pub hnsw_ef_search: u32,
}Fields§
§table_id: u32The table_id of the vector index to search.
info_column_desc: Vec<ColumnDesc>The columns of the vector index info.
info_output_indices: Vec<u32>§include_distance: boolWhether or not to include the distance column in the output
top_n: u32The number of nearest neighbors to return.
distance_type: i32The distance metric to use for the search.
hnsw_ef_search: u32The ef_search used to query hnsw index