pub enum SearchCapability {
KeywordOnly,
Hybrid,
HybridWithRerank,
}Expand description
Search capability derived from model availability. Keyword search never depends on models (RFC-007: works with zero models installed).
Variants§
KeywordOnly
Keyword only: no embedding model available.
Hybrid
Keyword + semantic: embedding model available.
HybridWithRerank
Keyword + semantic + rerank refinement.
Trait Implementations§
Source§impl Clone for SearchCapability
impl Clone for SearchCapability
Source§fn clone(&self) -> SearchCapability
fn clone(&self) -> SearchCapability
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 SearchCapability
Source§impl Debug for SearchCapability
impl Debug for SearchCapability
impl Eq for SearchCapability
Source§impl PartialEq for SearchCapability
impl PartialEq for SearchCapability
Source§fn eq(&self, other: &SearchCapability) -> bool
fn eq(&self, other: &SearchCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SearchCapability
Auto Trait Implementations§
impl Freeze for SearchCapability
impl RefUnwindSafe for SearchCapability
impl Send for SearchCapability
impl Sync for SearchCapability
impl Unpin for SearchCapability
impl UnsafeUnpin for SearchCapability
impl UnwindSafe for SearchCapability
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