pub struct CommonQuery(/* private fields */);Expand description
Common terms query
Implementations§
Source§impl CommonQuery
impl CommonQuery
pub fn with_cutoff_frequency<T: Into<f64>>(self, val: T) -> Self
pub fn with_low_freq_operator<T: Into<String>>(self, val: T) -> Self
pub fn with_high_freq_operator<T: Into<String>>(self, val: T) -> Self
pub fn with_minimum_should_match<T: Into<MinimumShouldMatch>>( self, val: T, ) -> Self
pub fn with_boost<T: Into<f64>>(self, val: T) -> Self
pub fn with_analyzer<T: Into<String>>(self, val: T) -> Self
pub fn with_disable_coord<T: Into<bool>>(self, val: T) -> Self
pub fn build(self) -> Query
Trait Implementations§
Source§impl Debug for CommonQuery
impl Debug for CommonQuery
Auto Trait Implementations§
impl Freeze for CommonQuery
impl RefUnwindSafe for CommonQuery
impl Send for CommonQuery
impl Sync for CommonQuery
impl Unpin for CommonQuery
impl UnwindSafe for CommonQuery
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more