Struct rs_es::query::BoostingQuery [] [src]

pub struct BoostingQuery {
    // some fields omitted
}

Methods

impl BoostingQuery

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

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

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

fn build(self) -> Query

Trait Implementations

impl ToJson for BoostingQuery

fn to_json(&self) -> Json

Derived Implementations

impl Debug for BoostingQuery

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