pub struct IndexHealthChecker;Expand description
Index health checker
Implementations§
Source§impl IndexHealthChecker
impl IndexHealthChecker
Sourcepub fn check_health(
&self,
num_vectors: usize,
dimensions: usize,
avg_query_time_ms: f64,
) -> Vec<Recommendation>
pub fn check_health( &self, num_vectors: usize, dimensions: usize, avg_query_time_ms: f64, ) -> Vec<Recommendation>
Check index health and return recommendations
§Arguments
num_vectors- Number of vectors in indexdimensions- Vector dimensionsavg_query_time_ms- Average query time in milliseconds
Trait Implementations§
Source§impl Debug for IndexHealthChecker
impl Debug for IndexHealthChecker
Auto Trait Implementations§
impl Freeze for IndexHealthChecker
impl RefUnwindSafe for IndexHealthChecker
impl Send for IndexHealthChecker
impl Sync for IndexHealthChecker
impl Unpin for IndexHealthChecker
impl UnwindSafe for IndexHealthChecker
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more