#[repr(C)]pub struct cuvsTieredIndexParams {
pub metric: cuvsDistanceType,
pub algo: cuvsTieredIndexANNAlgo,
pub min_ann_rows: i64,
pub create_ann_index_on_extend: bool,
pub cagra_params: cuvsCagraIndexParams_t,
pub ivf_flat_params: cuvsIvfFlatIndexParams_t,
pub ivf_pq_params: cuvsIvfPqIndexParams_t,
}Expand description
@defgroup tiered_c_index_params Tiered Index build parameters @{ / /** @brief Supplemental parameters to build a TieredIndex
Fields§
§metric: cuvsDistanceTypeDistance type.
algo: cuvsTieredIndexANNAlgoThe type of ANN algorithm we are using
min_ann_rows: i64The minimum number of rows necessary in the index to create an ann index
create_ann_index_on_extend: boolWhether or not to create a new ann index on extend, if the number of rows in the incremental (bfknn) portion is above min_ann_rows
cagra_params: cuvsCagraIndexParams_tOptional parameters for building a cagra index
ivf_flat_params: cuvsIvfFlatIndexParams_tOptional parameters for building a ivf_flat index
ivf_pq_params: cuvsIvfPqIndexParams_tOptional parameters for building a ivf-pq index
Trait Implementations§
Source§impl Clone for cuvsTieredIndexParams
impl Clone for cuvsTieredIndexParams
Source§fn clone(&self) -> cuvsTieredIndexParams
fn clone(&self) -> cuvsTieredIndexParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for cuvsTieredIndexParams
Auto Trait Implementations§
impl !Send for cuvsTieredIndexParams
impl !Sync for cuvsTieredIndexParams
impl Freeze for cuvsTieredIndexParams
impl RefUnwindSafe for cuvsTieredIndexParams
impl Unpin for cuvsTieredIndexParams
impl UnsafeUnpin for cuvsTieredIndexParams
impl UnwindSafe for cuvsTieredIndexParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more