Struct rs_es::query::ConstantScoreQuery [] [src]

pub struct ConstantScoreQuery {
    // some fields omitted
}

Methods

impl ConstantScoreQuery

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

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

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

fn build(self) -> Query

Trait Implementations

impl ToJson for ConstantScoreQuery

fn to_json(&self) -> Json

Derived Implementations

impl Debug for ConstantScoreQuery

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