pub enum Compat {
Permissive,
Strict,
}Expand description
Whether an HNSW request is served by the partition index or refused.
Variants§
Permissive
Honour the parameters, serve with the partition index, and say in
FT.INFO what is really running. This is the default and it is what
almost everybody wants, because almost nobody asked for a graph, they
asked for vector search and HNSW is what the last engine called it.
Strict
A request for HNSW means HNSW. Nothing here builds one, so this refuses rather than substituting.
Trait Implementations§
impl Copy for Compat
impl Eq for Compat
impl StructuralPartialEq for Compat
Auto Trait Implementations§
impl Freeze for Compat
impl RefUnwindSafe for Compat
impl Send for Compat
impl Sync for Compat
impl Unpin for Compat
impl UnsafeUnpin for Compat
impl UnwindSafe for Compat
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