pub struct SimpleQueryString { /* private fields */ }
Implementations§
Source§impl SimpleQueryString
impl SimpleQueryString
pub fn new() -> Self
pub fn fields<F, T>(self, fields: F) -> Self
pub fn field<T: Into<String>>(self, field: T) -> Self
pub fn value<T: Into<String>>(self, value: T) -> Self
pub fn query<T: Into<String>>(self, query: T) -> Self
pub fn flags<T: Into<String>>(self, flags: T) -> Self
pub fn fuzzy_transpositions(self, fuzzy_transpositions: bool) -> Self
pub fn fuzzy_max_expansions<T: Into<u64>>(self, fuzzy_max_expansions: T) -> Self
pub fn fuzzy_prefix_length<T: Into<u64>>(self, fuzzy_prefix_length: T) -> Self
pub fn minimum_should_match<T: Into<String>>( self, minimum_should_match: T, ) -> Self
pub fn default_operator<T: Into<Operator>>(self, default_operator: T) -> Self
pub fn analyzer<T: Into<String>>(self, analyzer: T) -> Self
pub fn lenient(self, lenient: bool) -> Self
pub fn quote_field_suffix<T: Into<String>>(self, quote_field_suffix: T) -> Self
pub fn analyze_wildcard(self, analyze_wildcard: bool) -> Self
pub fn auto_generate_synonyms_phrase_query( self, auto_generate_synonyms_phrase_query: bool, ) -> Self
Trait Implementations§
Source§impl Clone for SimpleQueryString
impl Clone for SimpleQueryString
Source§fn clone(&self) -> SimpleQueryString
fn clone(&self) -> SimpleQueryString
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 SimpleQueryString
impl Debug for SimpleQueryString
Source§impl Default for SimpleQueryString
impl Default for SimpleQueryString
Source§fn default() -> SimpleQueryString
fn default() -> SimpleQueryString
Returns the “default value” for a type. Read more
Source§impl From<SimpleQueryString> for QueryField
impl From<SimpleQueryString> for QueryField
Source§fn from(val: SimpleQueryString) -> Self
fn from(val: SimpleQueryString) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SimpleQueryString
impl RefUnwindSafe for SimpleQueryString
impl Send for SimpleQueryString
impl Sync for SimpleQueryString
impl Unpin for SimpleQueryString
impl UnwindSafe for SimpleQueryString
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