Enum elasticsearch_dsl::search::queries::params::DistanceType [−][src]
pub enum DistanceType {
Arc,
Plane,
}
Expand description
Strategies to compute the distance
Variants
Arc
Accurate (default)
Plane
Faster, but inaccurate on long distances and close to the poles
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DistanceType
impl Send for DistanceType
impl Sync for DistanceType
impl Unpin for DistanceType
impl UnwindSafe for DistanceType
Blanket Implementations
Mutably borrows from an owned value. Read more