Struct rs_es::query::FunctionScoreQuery [] [src]

pub struct FunctionScoreQuery {
    // some fields omitted
}

Methods

impl FunctionScoreQuery

fn with_query<T: Into<Box<Query>>>(self, value: T) -> Self

fn with_filter<T: Into<Box<Filter>>>(self, value: T) -> Self

fn with_boost<T: Into<f64>>(self, value: T) -> Self

fn with_max_boost<T: Into<f64>>(self, value: T) -> Self

fn with_score_mode<T: Into<ScoreMode>>(self, value: T) -> Self

fn with_boost_mode<T: Into<BoostMode>>(self, value: T) -> Self

fn with_min_score<T: Into<f64>>(self, value: T) -> Self

fn build(self) -> Query

Trait Implementations

impl ToJson for FunctionScoreQuery

fn to_json(&self) -> Json

Derived Implementations

impl Debug for FunctionScoreQuery

fn fmt(&self, __arg_0: &mut Formatter) -> Result