pub struct MultiMatch { /* private fields */ }
Implementations§
Source§impl MultiMatch
impl MultiMatch
pub fn new() -> Self
pub fn fields<F, T>(self, fields: F) -> Self
pub fn value<T: Into<Value>>(self, value: T) -> Self
pub fn query<T: Into<Value>>(self, query: T) -> Self
pub fn query_type<T: Into<Type>>(self, typ: T) -> Self
pub fn operator<T: Into<Operator>>(self, operator: T) -> Self
pub fn minimum_should_match<T: Into<String>>( self, minimum_should_match: T, ) -> Self
pub fn tie_breaker<T: Into<f64>>(self, tie_breaker: T) -> Self
pub fn analyzer<T: Into<String>>(self, analyzer: 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 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 auto_generate_synonyms_phrase_query( self, auto_generate_synonyms_phrase_query: bool, ) -> Self
pub fn zero_terms_query<T: Into<ZeroTermsQuery>>( self, zero_terms_query: T, ) -> Self
Trait Implementations§
Source§impl Clone for MultiMatch
impl Clone for MultiMatch
Source§fn clone(&self) -> MultiMatch
fn clone(&self) -> MultiMatch
Returns a duplicate of the value. Read more
1.0.0 · 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 MultiMatch
impl Debug for MultiMatch
Source§impl Default for MultiMatch
impl Default for MultiMatch
Source§fn default() -> MultiMatch
fn default() -> MultiMatch
Returns the “default value” for a type. Read more
Source§impl From<MultiMatch> for QueryField
impl From<MultiMatch> for QueryField
Source§fn from(val: MultiMatch) -> Self
fn from(val: MultiMatch) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MultiMatch
impl RefUnwindSafe for MultiMatch
impl Send for MultiMatch
impl Sync for MultiMatch
impl Unpin for MultiMatch
impl UnwindSafe for MultiMatch
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