sealed trait GeoBoundingBoxQuery[S] extends ElasticQuery[S] with HasBoost[GeoBoundingBoxQuery[S]] with HasIgnoreUnmapped[GeoBoundingBoxQuery[S]] with HasQueryName[GeoBoundingBoxQuery[S]] with HasValidationMethod[GeoBoundingBoxQuery[S]]
- Alphabetic
- By Inheritance
- GeoBoundingBoxQuery
- HasValidationMethod
- HasQueryName
- HasIgnoreUnmapped
- HasBoost
- ElasticQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def boost(value: Double): GeoBoundingBoxQuery[S]
Sets the
boostparameter for this zio.elasticsearch.query.ElasticQuery.Sets the
boostparameter for this zio.elasticsearch.query.ElasticQuery. Theboostvalue is a positive multiplier applied to the score of documents matching the query. A value greater than 1 increases the relevance score of matching documents, while a value less than 1 decreases it. The defaultboostvalue is 1.- value
a non-negative real number to set
boostparameter to- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
boostvalue set.
- Definition Classes
- HasBoost
- abstract def ignoreUnmapped(value: Boolean): GeoBoundingBoxQuery[S]
Sets the
ignoreUnmappedparameter to control whether to ignore unmapped fields and return empty hits.Sets the
ignoreUnmappedparameter to control whether to ignore unmapped fields and return empty hits.- value
the
booleanvalue forignoreUnmappedparameter- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
ignoreUnmappedvalue set.
- Definition Classes
- HasIgnoreUnmapped
- abstract def name(value: String): GeoBoundingBoxQuery[S]
Sets the
queryNameparameter for this zio.elasticsearch.query.ElasticQuery.Sets the
queryNameparameter for this zio.elasticsearch.query.ElasticQuery. Represents the optional name used to identify the query.- value
the String value to represent the name field
- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
queryNamevalue set.
- Definition Classes
- HasQueryName
- abstract def validationMethod(value: ValidationMethod): GeoBoundingBoxQuery[S]
Sets the
validationMethodparameter for this zio.elasticsearch.query.ElasticQuery.Sets the
validationMethodparameter for this zio.elasticsearch.query.ElasticQuery. Defines handling of incorrect coordinates.- value
defines how to handle invalid latitude and 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
- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
validationMethodvalue set.
- Definition Classes
- HasValidationMethod
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def ignoreUnmappedFalse: GeoBoundingBoxQuery[S]
Sets the
ignoreUnmappedparameter tofalsefor this zio.elasticsearch.query.ElasticQuery.Sets the
ignoreUnmappedparameter tofalsefor this zio.elasticsearch.query.ElasticQuery. Same as ignoreUnmapped(false).- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
ignoreUnmappedvalue set tofalse.
- Definition Classes
- HasIgnoreUnmapped
- See also
#ignoreUnmapped
- final def ignoreUnmappedTrue: GeoBoundingBoxQuery[S]
Sets the
ignoreUnmappedparameter totruefor this zio.elasticsearch.query.ElasticQuery.Sets the
ignoreUnmappedparameter totruefor this zio.elasticsearch.query.ElasticQuery. Same as ignoreUnmapped(true).- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
ignoreUnmappedvalue set totrue.
- Definition Classes
- HasIgnoreUnmapped
- See also
#ignoreUnmapped
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])