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

pub struct DefaultGeoPointMapping<F> where
    F: GeoPointFormat
{ /* fields omitted */ }

Default mapping for geo_point.

Trait Implementations

impl<F> Default for DefaultGeoPointMapping<F> where
    F: Default + GeoPointFormat
[src]

impl<F> Copy for DefaultGeoPointMapping<F> where
    F: Copy + GeoPointFormat
[src]

impl<F> PartialEq<DefaultGeoPointMapping<F>> for DefaultGeoPointMapping<F> where
    F: PartialEq<F> + GeoPointFormat
[src]

impl<F> GeoPointMapping for DefaultGeoPointMapping<F> where
    F: GeoPointFormat
[src]

The format used to serialise and deserialise the geo point. Read more

Should the geo-point also be indexed as a geohash in the .geohash sub-field? Defaults to false, unless geohash_prefix is true. Read more

The maximum length of the geohash to use for the geohash and geohash_prefix options.

Should the geo-point also be indexed as a geohash plus all its prefixes? Defaults to false.

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

Should the geo-point also be indexed as .lat and .lon sub-fields? Accepts true and false (default). Read more

impl<F> Debug for DefaultGeoPointMapping<F> where
    F: Debug + GeoPointFormat
[src]

Formats the value using the given formatter.

impl<F> Clone for DefaultGeoPointMapping<F> where
    F: Clone + GeoPointFormat
[src]