Struct elastic::types::prelude::DefaultDateMapping [] [src]

pub struct DefaultDateMapping<F> where
    F: DateFormat
{ /* fields omitted */ }

Default mapping for date.

Trait Implementations

impl<F> Default for DefaultDateMapping<F> where
    F: Default + DateFormat
[src]

impl<F> Copy for DefaultDateMapping<F> where
    F: Copy + DateFormat
[src]

impl<F> PartialEq<DefaultDateMapping<F>> for DefaultDateMapping<F> where
    F: PartialEq<F> + DateFormat
[src]

impl<F> DateMapping for DefaultDateMapping<F> where
    F: DateFormat
[src]

The date format bound to this mapping. Read more

Field-level index time boosting. Accepts a floating point number, defaults to 1.0.

Should the field be stored on disk in a column-stride fashion, so that it can later be used for sorting, aggregations, or scripting? Accepts true (default) or false. Read more

Whether or not the field value should be included in the _all field? Accepts true or false. Defaults to false if index is set to no, or if a parent object field sets include_in_all to false. Otherwise defaults to true. Read more

Should the field be searchable? Accepts not_analyzed (default) and no.

Whether the field value should be stored and retrievable separately from the _source field. Accepts true or false (default). Read more

If true, malformed numbers are ignored. If false (default), malformed numbers throw an exception and reject the whole document. Read more

Accepts a date value in one of the configured format's as the field which is substituted for any explicit null values. Defaults to null, which means the field is treated as missing. Read more

impl<F> Debug for DefaultDateMapping<F> where
    F: Debug + DateFormat
[src]

Formats the value using the given formatter.

impl<F> Clone for DefaultDateMapping<F> where
    F: Clone + DateFormat
[src]