sealed trait HasParentQuery[S] extends ElasticQuery[S] with HasBoost[HasParentQuery[S]] with HasIgnoreUnmapped[HasParentQuery[S]] with HasInnerHits[HasParentQuery[S]]
- Alphabetic
- By Inheritance
- HasParentQuery
- HasInnerHits
- HasIgnoreUnmapped
- HasBoost
- ElasticQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def boost(value: Double): HasParentQuery[S]
Sets the
boost
parameter for this zio.elasticsearch.query.ElasticQuery.Sets the
boost
parameter for this zio.elasticsearch.query.ElasticQuery. Theboost
value 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 defaultboost
value is 1.- value
a non-negative real number to set
boost
parameter to- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
boost
value set.
- Definition Classes
- HasBoost
- abstract def ignoreUnmapped(value: Boolean): HasParentQuery[S]
Sets the
ignoreUnmapped
parameter to control whether to ignore unmapped fields and return empty hits.Sets the
ignoreUnmapped
parameter to control whether to ignore unmapped fields and return empty hits.- value
the
boolean
value forignoreUnmapped
parameter- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
ignoreUnmapped
value set.
- Definition Classes
- HasIgnoreUnmapped
- abstract def innerHits(innerHits: InnerHits): HasParentQuery[S]
Sets the inner hits configuration for the zio.elasticsearch.query.NestedQuery.
Sets the inner hits configuration for the zio.elasticsearch.query.NestedQuery.
- innerHits
the configuration for inner hits
- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the specified inner hits configuration.
- Definition Classes
- HasInnerHits
- abstract def withScore(value: Boolean): HasParentQuery[S]
Sets the
score
parameter parameter for the HasParentQuery.Sets the
score
parameter parameter for the HasParentQuery. Indicates whether the relevance score of a matching parent document is aggregated into its child documents. Defaults to false.- value
the scala.Boolean value for
score
parameter- returns
an instance of HasParentQuery enriched with the
score
parameter.
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: HasParentQuery[S]
Sets the
ignoreUnmapped
parameter tofalse
for this zio.elasticsearch.query.ElasticQuery.Sets the
ignoreUnmapped
parameter tofalse
for this zio.elasticsearch.query.ElasticQuery. Same as ignoreUnmapped(false).- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
ignoreUnmapped
value set tofalse
.
- Definition Classes
- HasIgnoreUnmapped
- See also
#ignoreUnmapped
- final def ignoreUnmappedTrue: HasParentQuery[S]
Sets the
ignoreUnmapped
parameter totrue
for this zio.elasticsearch.query.ElasticQuery.Sets the
ignoreUnmapped
parameter totrue
for this zio.elasticsearch.query.ElasticQuery. Same as ignoreUnmapped(true).- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
ignoreUnmapped
value set totrue
.
- Definition Classes
- HasIgnoreUnmapped
- See also
#ignoreUnmapped
- final def innerHits: HasParentQuery[S]
Sets the inner hits for this zio.elasticsearch.query.ElasticQuery to the default
InnerHits()
value.Sets the inner hits for this zio.elasticsearch.query.ElasticQuery to the default
InnerHits()
value.- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the default inner hits.
- Definition Classes
- HasInnerHits
- 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withScoreFalse: HasParentQuery[S]
Sets the
score
parameter tofalse
for this HasParentQuery.Sets the
score
parameter tofalse
for this HasParentQuery. Same as withScore(false).- returns
an instance of HasParentQuery with the
score
value set tofalse
.
- See also
#withScore
- final def withScoreTrue: HasParentQuery[S]
Sets the
score
parameter totrue
for this HasParentQuery.Sets the
score
parameter totrue
for this HasParentQuery. Same as withScore(true).- returns
an instance of HasParentQuery with the
score
value set totrue
.
- See also
#withScore