sealed trait HasChildQuery[S] extends ElasticQuery[S] with HasIgnoreUnmapped[HasChildQuery[S]] with HasInnerHits[HasChildQuery[S]] with HasScoreMode[HasChildQuery[S]]
- Alphabetic
- By Inheritance
- HasChildQuery
- HasScoreMode
- HasInnerHits
- HasIgnoreUnmapped
- ElasticQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def ignoreUnmapped(value: Boolean): HasChildQuery[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): HasChildQuery[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 maxChildren(value: Int): HasChildQuery[S]
Sets the
maxChildren
parameter for the HasChildQuery.Sets the
maxChildren
parameter for the HasChildQuery. Indicates maximum number of child documents that match the query allowed for a returned parent document. If the parent document exceeds this limit, it is excluded from the search results.- value
the scala.Int value for
maxChildren
parameter- returns
an instance of HasChildQuery enriched with the
maxChildren
parameter.
- abstract def minChildren(value: Int): HasChildQuery[S]
Sets the
minChildren
parameter for the HasChildQuery.Sets the
minChildren
parameter for the HasChildQuery. Indicates minimum number of child documents that match the query required to match the query for a returned parent document. If the parent document does not meet this limit, it is excluded from the search results.- value
the whole number value for
minChildren
parameter- returns
an instance of HasChildQuery enriched with the
minChildren
parameter.
- abstract def scoreMode(scoreMode: ScoreMode): HasChildQuery[S]
Sets the ScoreMode for the zio.elasticsearch.query.NestedQuery.
Sets the ScoreMode for the zio.elasticsearch.query.NestedQuery. The zio.elasticsearch.query.ScoreMode specifies how scores of matching documents are combined for the zio.elasticsearch.query.NestedQuery.
- scoreMode
the ScoreMode to use for the zio.elasticsearch.query.NestedQuery
- ScoreMode.Avg: uses the mean relevance score of all matching child objects
- ScoreMode.Max: uses the highest relevance score of all matching child objects
- ScoreMode.Min: uses the lowest relevance score of all matching child objects
- ScoreMode.None: ignores relevance scores of matching child objects and uses 0 as a score
- ScoreMode.Sum: adds together the relevance scores of all matching child objects
- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the specified zio.elasticsearch.query.ScoreMode.
- Definition Classes
- HasScoreMode
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: HasChildQuery[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: HasChildQuery[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: HasChildQuery[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])