pub struct SparseIndexConfigBuilder { /* private fields */ }
Expand description
Builder for SparseIndexConfig
.
Implementations§
source§impl SparseIndexConfigBuilder
impl SparseIndexConfigBuilder
sourcepub fn full_scan_threshold<VALUE: Into<u64>>(self, value: VALUE) -> Self
pub fn full_scan_threshold<VALUE: Into<u64>>(self, value: VALUE) -> Self
Prefer a full scan search upto (excluding) this number of vectors. Note: this is number of vectors, not KiloBytes.
source§impl SparseIndexConfigBuilder
impl SparseIndexConfigBuilder
sourcepub fn build(self) -> SparseIndexConfig
pub fn build(self) -> SparseIndexConfig
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl Default for SparseIndexConfigBuilder
impl Default for SparseIndexConfigBuilder
source§impl From<SparseIndexConfigBuilder> for SparseIndexConfig
impl From<SparseIndexConfigBuilder> for SparseIndexConfig
source§fn from(value: SparseIndexConfigBuilder) -> Self
fn from(value: SparseIndexConfigBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparseIndexConfigBuilder
impl RefUnwindSafe for SparseIndexConfigBuilder
impl Send for SparseIndexConfigBuilder
impl Sync for SparseIndexConfigBuilder
impl Unpin for SparseIndexConfigBuilder
impl UnwindSafe for SparseIndexConfigBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request