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
- All
Abstract Value Members
-
abstract
def
boost(value: Double): HasParentQuery[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): HasParentQuery[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): 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
scoreparameter parameter for the HasParentQuery.Sets the
scoreparameter 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
scoreparameter- returns
an instance of HasParentQuery enriched with the
scoreparameter.
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: HasParentQuery[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: HasParentQuery[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: 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
- @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( ... )
-
final
def
withScoreFalse: HasParentQuery[S]
Sets the
scoreparameter tofalsefor this HasParentQuery.Sets the
scoreparameter tofalsefor this HasParentQuery. Same as withScore(false).- returns
an instance of HasParentQuery with the
scorevalue set tofalse.
- See also
#withScore
-
final
def
withScoreTrue: HasParentQuery[S]
Sets the
scoreparameter totruefor this HasParentQuery.Sets the
scoreparameter totruefor this HasParentQuery. Same as withScore(true).- returns
an instance of HasParentQuery with the
scorevalue set totrue.
- See also
#withScore