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
- All
Abstract Value Members
-
abstract
def
ignoreUnmapped(value: Boolean): HasChildQuery[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
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
maxChildrenparameter for the HasChildQuery.Sets the
maxChildrenparameter 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
maxChildrenparameter- returns
an instance of HasChildQuery enriched with the
maxChildrenparameter.
-
abstract
def
minChildren(value: Int): HasChildQuery[S]
Sets the
minChildrenparameter for the HasChildQuery.Sets the
minChildrenparameter 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
minChildrenparameter- returns
an instance of HasChildQuery enriched with the
minChildrenparameter.
-
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( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
ignoreUnmappedFalse: HasChildQuery[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: HasChildQuery[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
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
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )