pub enum CollectionMode {
Dense {
model: Option<String>,
},
Hybrid {
dense_vector: Option<String>,
sparse_vector: Option<String>,
},
Rerank,
}Expand description
CREATE COLLECTION topology mode.
Variants§
Dense
USING [DENSE] MODEL '…' — single dense vector sized by the model.
Hybrid
HYBRID / USING HYBRID — dense + sparse topology.
Fields
Rerank
HYBRID RERANK — dense + sparse + colbert multivector topology.
Trait Implementations§
Source§impl Clone for CollectionMode
impl Clone for CollectionMode
Source§fn clone(&self) -> CollectionMode
fn clone(&self) -> CollectionMode
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 moreSource§impl Debug for CollectionMode
impl Debug for CollectionMode
Source§impl PartialEq for CollectionMode
impl PartialEq for CollectionMode
impl StructuralPartialEq for CollectionMode
Auto Trait Implementations§
impl Freeze for CollectionMode
impl RefUnwindSafe for CollectionMode
impl Send for CollectionMode
impl Sync for CollectionMode
impl Unpin for CollectionMode
impl UnsafeUnpin for CollectionMode
impl UnwindSafe for CollectionMode
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