pub struct Match { /* private fields */ }Implementations§
Source§impl Match
impl Match
pub fn new() -> Self
pub fn field<T: Into<String>>(self, field: T) -> Self
pub fn value<T: Into<Value>>(self, val: T) -> Self
pub fn query<T: Into<Value>>(self, value: T) -> Self
pub fn operator<T: Into<Operator>>(self, operator: T) -> Self
pub fn analyzer<T: Into<String>>(self, analyzer: T) -> Self
pub fn zero_terms_query<T: Into<ZeroTermsQuery>>( self, zero_terms_query: T, ) -> Self
pub fn lenient(self, lenient: bool) -> Self
pub fn prefix_length<T: Into<u64>>(self, prefix_length: T) -> Self
pub fn max_expansions<T: Into<u64>>(self, max_expansions: T) -> Self
pub fn boost<T: Into<f64>>(self, boost: T) -> Self
pub fn fuzziness<T: Into<Fuzziness>>(self, fuzziness: T) -> Self
pub fn fuzzy_transpositions(self, fuzzy_transpositions: bool) -> Self
pub fn minimum_should_match<T: Into<String>>( self, minimum_should_match: T, ) -> Self
Trait Implementations§
Source§impl From<Match> for QueryField
impl From<Match> for QueryField
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
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