GeoPolygonQuery
Attributes
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
Sets the queryName
parameter for the zio.elasticsearch.query.GeoPolygonQuery. Represents the optional name field to identify the query.
Sets the queryName
parameter for the zio.elasticsearch.query.GeoPolygonQuery. Represents the optional name field to identify the query.
Value parameters
- value
-
the text value that represents the name field
Attributes
- Returns
-
an instance of zio.elasticsearch.query.GeoPolygonQuery enriched with the
queryName
parameter.
Sets the validationMethod
parameter for the zio.elasticsearch.query.GeoPolygonQuery. Defines handling of incorrect coordinates.
Sets the validationMethod
parameter for the zio.elasticsearch.query.GeoPolygonQuery. Defines handling of incorrect coordinates.
Value parameters
- value
-
defines how to handle invalid latitude nad longitude:
- zio.elasticsearch.query.ValidationMethod.Strict: Default method
- zio.elasticsearch.query.ValidationMethod.IgnoreMalformed: Accepts geo points with invalid latitude or longitude
- zio.elasticsearch.query.ValidationMethod.Coerce: Additionally try and infer correct coordinates
Attributes
- Returns
-
an instance of zio.elasticsearch.query.GeoPolygonQuery enriched with the
validationMethod
parameter.