GeoDistanceQuery

zio.elasticsearch.query.GeoDistanceQuery
sealed trait GeoDistanceQuery[S] extends ElasticQuery[S]

Attributes

Graph
Supertypes
trait ElasticQuery[S]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Sets the distanceType parameter for the zio.elasticsearch.query.GeoDistanceQuery. Defines how to compute the distance.

Sets the distanceType parameter for the zio.elasticsearch.query.GeoDistanceQuery. Defines how to compute the distance.

Value parameters

value

defines how to compute the distance

Attributes

Returns

an instance of zio.elasticsearch.query.GeoDistanceQuery enriched with the distanceType parameter.

def name(value: String): GeoDistanceQuery[S]

Sets the queryName parameter for the zio.elasticsearch.query.GeoDistanceQuery. Represents the optional name field to identify the query

Sets the queryName parameter for the zio.elasticsearch.query.GeoDistanceQuery. Represents the optional name field to identify the query

Value parameters

value

the String value to represent the name field

Attributes

Returns

an instance of zio.elasticsearch.query.GeoDistanceQuery enriched with the queryName parameter.

Sets the validationMethod parameter for the zio.elasticsearch.query.GeoDistanceQuery. Defines handling of incorrect coordinates.

Sets the validationMethod parameter for the zio.elasticsearch.query.GeoDistanceQuery. Defines handling of incorrect coordinates.

Value parameters

value

defines how to handle invalid latitude nad longitude:

Attributes

Returns

an instance of zio.elasticsearch.query.GeoDistanceQuery enriched with the validationMethod parameter.