pub enum QueryStep {
VectorSearch {
query: String,
limit: usize,
},
TextSearch {
query: String,
limit: usize,
},
Traverse {
direction: TraverseDirection,
label: String,
max_depth: usize,
},
Filter(Predicate),
}Expand description
A single step in the query pipeline.
Variants§
VectorSearch
Nearest-neighbor search over vector embeddings.
Fields
TextSearch
Full-text search over indexed chunk content.
Fields
Traverse
Graph traversal following edges of the given label.
Fields
§
direction: TraverseDirectionDirection to traverse.
Filter(Predicate)
Row-level filter predicate.
Trait Implementations§
impl Eq for QueryStep
impl StructuralPartialEq for QueryStep
Auto Trait Implementations§
impl Freeze for QueryStep
impl RefUnwindSafe for QueryStep
impl Send for QueryStep
impl Sync for QueryStep
impl Unpin for QueryStep
impl UnsafeUnpin for QueryStep
impl UnwindSafe for QueryStep
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