pub struct TextSearchOptions {
pub gather_mode: TextGatherMode,
pub gather_limit: Option<u32>,
}Expand description
Options that tune the two-stage gather + rank strategy for text search.
Fields§
§gather_mode: TextGatherMode§gather_limit: Option<u32>Row limit for the cheap first-stage gather in RankWithinCap mode. Must be >= top_k. When None, defaults to top_k (no breadth reduction).
Trait Implementations§
Source§impl Clone for TextSearchOptions
impl Clone for TextSearchOptions
Source§fn clone(&self) -> TextSearchOptions
fn clone(&self) -> TextSearchOptions
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 TextSearchOptions
impl Debug for TextSearchOptions
Source§impl Default for TextSearchOptions
impl Default for TextSearchOptions
Source§impl<'de> Deserialize<'de> for TextSearchOptions
impl<'de> Deserialize<'de> for TextSearchOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TextSearchOptions
impl PartialEq for TextSearchOptions
Source§fn eq(&self, other: &TextSearchOptions) -> bool
fn eq(&self, other: &TextSearchOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextSearchOptions
impl Serialize for TextSearchOptions
impl StructuralPartialEq for TextSearchOptions
Auto Trait Implementations§
impl Freeze for TextSearchOptions
impl RefUnwindSafe for TextSearchOptions
impl Send for TextSearchOptions
impl Sync for TextSearchOptions
impl Unpin for TextSearchOptions
impl UnsafeUnpin for TextSearchOptions
impl UnwindSafe for TextSearchOptions
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