[−][src]Struct algoliasearch::index::SearchQueryBuilder
Builder for SearchQuery
.
Methods
impl SearchQueryBuilder
[src]
pub fn query<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn attributes_to_retrieve<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn restrict_searchable_attributes<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn filters<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn facet_filters<VALUE: Into<Option<Vec<StringOrVecOfString>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn optional_filters<VALUE: Into<Option<Vec<StringOrVecOfString>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn numeric_filters<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn tag_filters<VALUE: Into<Option<StringOrVecOfString>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn sum_or_filters_scores<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn facets<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn max_values_per_facet<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn faceting_after_distinct<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn sort_facet_values_by<VALUE: Into<Option<SortFacetValuesBy>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn attributes_to_highlight<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn attributes_to_snippet<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn highlight_pre_tag<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn highlight_post_tag<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn snippet_ellipsis_text<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn restrict_highlight_and_snippet_arrays<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn page<VALUE: Into<Option<u64>>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn hits_per_page<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn offset<VALUE: Into<Option<u64>>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn length<VALUE: Into<Option<u64>>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn min_word_sizefor_1_typo<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn min_word_sizefor_2_typos<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn typo_tolerance<VALUE: Into<Option<TypoTolerance>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn allow_typos_on_numeric_tokens<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn disable_typo_tolerance_on_attributes<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn around_lat_lng<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn around_lat_lng_via_ip<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn around_radius<VALUE: Into<Option<AroundRadius>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn around_precision<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn minimum_around_radius<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn inside_bounding_box<VALUE: Into<Option<Vec<f64>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn inside_polygon<VALUE: Into<Option<Vec<f64>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn ignore_plurals<VALUE: Into<Option<IgnorePlurals>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn remove_stop_words<VALUE: Into<Option<IgnorePlurals>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn query_languages<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn query_type<VALUE: Into<Option<QueryType>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn remove_words_if_no_results<VALUE: Into<Option<RemoveWordsIfNoResults>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn advanced_syntax<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn optional_words<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn disable_exact_on_attributes<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn exact_on_single_word_query<VALUE: Into<Option<ExactOnSingleWordQuery>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn alternatives_as_exact<VALUE: Into<Option<AlternativesAsExact>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn enable_rules<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn rule_contexts<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn enable_personalization<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn user_token<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn distinct<VALUE: Into<Option<Distinct>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn get_ranking_info<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn click_analytics<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn analytics<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn analytics_tags<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn synonyms<VALUE: Into<Option<bool>>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn replace_synonyms_in_highlight<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn min_proximity<VALUE: Into<Option<MinProximity>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn response_fields<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn max_facet_hits<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn percentile_computation<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn build(&self) -> Result<SearchQuery, String>
[src]
Trait Implementations
impl Default for SearchQueryBuilder
[src]
fn default() -> SearchQueryBuilder
[src]
impl Clone for SearchQueryBuilder
[src]
fn clone(&self) -> SearchQueryBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for SearchQueryBuilder
impl Sync for SearchQueryBuilder
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Erased for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
U: TryFrom<T>,