pub enum SearchCapability {
KeywordOnly,
Hybrid,
}Expand description
Search capability derived from model availability. Keyword search never depends on models (RFC-007: works with zero models installed).
Two variants, not three (Task 128): orbok has no reranker a user could
ever have (Task 040 kept CrossEncoderReranker as a documented seam,
deleted the only wiring to it), so a HybridWithRerank tier and the
function that derived it existed only to feed a Models page line that
named a feature which did not exist. Removed with that line, not kept
as a seam: unlike the reranker contract, nothing here is an
intentional insertion point for later, it was this enum’s own dead
branch.
Variants§
KeywordOnly
Keyword only: no embedding model available.
Hybrid
Keyword + semantic: embedding model available.
Trait Implementations§
Source§impl Clone for SearchCapability
impl Clone for SearchCapability
impl 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
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