pub enum SearchHitSource {
Chunk,
Property,
Vector,
}Expand description
Source of a SearchHit within the FTS surface.
Variants§
Chunk
The hit came from the chunk-backed full-text index (fts_nodes).
Property
The hit came from the property-backed full-text index
(fts_node_properties).
Vector
Reserved for future vector-search attribution.
No Phase 1 code path emits this variant; it is exported so that future
vector wiring can be added without a breaking change to consumers that
exhaustively match on SearchHitSource.
Trait Implementations§
Source§impl Clone for SearchHitSource
impl Clone for SearchHitSource
Source§fn clone(&self) -> SearchHitSource
fn clone(&self) -> SearchHitSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SearchHitSource
impl Debug for SearchHitSource
Source§impl PartialEq for SearchHitSource
impl PartialEq for SearchHitSource
impl Copy for SearchHitSource
impl Eq for SearchHitSource
impl StructuralPartialEq for SearchHitSource
Auto Trait Implementations§
impl Freeze for SearchHitSource
impl RefUnwindSafe for SearchHitSource
impl Send for SearchHitSource
impl Sync for SearchHitSource
impl Unpin for SearchHitSource
impl UnsafeUnpin for SearchHitSource
impl UnwindSafe for SearchHitSource
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