pub enum PlanReason {
LexicalIndex,
SparseIndex,
RequestedExact,
AnnReady,
AnnUnavailable,
FilterRequiresExact,
OperatorRequiresExact,
LowerEstimatedCost,
LowerCalibratedLatency,
}Variants§
LexicalIndex
Index over a lexical/BM25 posting list.
SparseIndex
Index over a sparse inverted index.
RequestedExact
Caller explicitly requested exact execution.
AnnReady
ANN graph available and selected by availability heuristic.
ANN graph not built; falling back to exact scan.
FilterRequiresExact
Filter present; selectivity too low or post-filter disabled.
OperatorRequiresExact
Operator does not support ANN (e.g. named multivector exact-only).
LowerEstimatedCost
Cost model estimated exact cheaper than HNSW for this corpus size.
LowerCalibratedLatency
Runtime calibration estimated lower p90 latency for this hardware.
Trait Implementations§
Source§impl Clone for PlanReason
impl Clone for PlanReason
impl Copy for PlanReason
Source§impl Debug for PlanReason
impl Debug for PlanReason
impl Eq for PlanReason
Source§impl PartialEq for PlanReason
impl PartialEq for PlanReason
Source§impl Serialize for PlanReason
impl Serialize for PlanReason
impl StructuralPartialEq for PlanReason
Auto Trait Implementations§
impl Freeze for PlanReason
impl RefUnwindSafe for PlanReason
impl Send for PlanReason
impl Sync for PlanReason
impl Unpin for PlanReason
impl UnsafeUnpin for PlanReason
impl UnwindSafe for PlanReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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