Struct rs_es::operations::search::aggregations::Terms [] [src]

pub struct Terms<'a> {
    // some fields omitted
}

Terms aggregation

Methods

impl<'a> Terms<'a>

fn new<FOS: Into<FieldOrScript<'a>>>(field: FOS) -> Terms<'a>

fn with_size<T: Into<u64>>(self, val: T) -> Self

fn with_shard_size<T: Into<u64>>(self, val: T) -> Self

fn with_order<T: Into<Order<'a>>>(self, val: T) -> Self

Trait Implementations

impl<'a> ToJson for Terms<'a>

fn to_json(&self) -> Json

Derived Implementations

impl<'a> Debug for Terms<'a>

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