[][src]Struct rs_es::query::specialized::MoreLikeThisQuery

pub struct MoreLikeThisQuery { /* fields omitted */ }

More like this query

Methods

impl MoreLikeThisQuery[src]

pub fn with_fields<T: Into<Vec<String>>>(self, val: T) -> Self[src]

pub fn with_like_text<T: Into<String>>(self, val: T) -> Self[src]

pub fn with_ids<T: Into<Vec<String>>>(self, val: T) -> Self[src]

pub fn with_docs<T: Into<Vec<Doc>>>(self, val: T) -> Self[src]

pub fn with_max_query_terms<T: Into<u64>>(self, val: T) -> Self[src]

pub fn with_min_term_freq<T: Into<u64>>(self, val: T) -> Self[src]

pub fn with_min_doc_freq<T: Into<u64>>(self, val: T) -> Self[src]

pub fn with_max_doc_freq<T: Into<u64>>(self, val: T) -> Self[src]

pub fn with_min_word_length<T: Into<u64>>(self, val: T) -> Self[src]

pub fn with_max_word_length<T: Into<u64>>(self, val: T) -> Self[src]

pub fn with_stop_words<T: Into<Vec<String>>>(self, val: T) -> Self[src]

pub fn with_analyzer<T: Into<String>>(self, val: T) -> Self[src]

pub fn with_minimum_should_match<T: Into<MinimumShouldMatch>>(
    self,
    val: T
) -> Self
[src]

pub fn with_boost_terms<T: Into<f64>>(self, val: T) -> Self[src]

pub fn with_include<T: Into<bool>>(self, val: T) -> Self[src]

pub fn with_boost<T: Into<f64>>(self, val: T) -> Self[src]

pub fn build(self) -> Query[src]

Trait Implementations

impl Default for MoreLikeThisQuery[src]

impl Debug for MoreLikeThisQuery[src]

impl Serialize for MoreLikeThisQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err