Struct rs_es::query::BoolQuery [] [src]

pub struct BoolQuery {
    // some fields omitted
}

Methods

impl BoolQuery

fn with_must<T: Into<Vec<Query>>>(self, value: T) -> Self

fn with_must_not<T: Into<Vec<Query>>>(self, value: T) -> Self

fn with_should<T: Into<Vec<Query>>>(self, value: T) -> Self

fn with_minimum_should_match<T: Into<MinimumShouldMatch>>(self, value: T) -> Self

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

fn build(self) -> Query

Trait Implementations

impl ToJson for BoolQuery

fn to_json(&self) -> Json

Derived Implementations

impl Debug for BoolQuery

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