t

zio.elasticsearch.query

HasParentQuery

sealed trait HasParentQuery[S] extends ElasticQuery[S] with HasBoost[HasParentQuery[S]] with HasIgnoreUnmapped[HasParentQuery[S]] with HasInnerHits[HasParentQuery[S]]

Linear Supertypes
HasInnerHits[HasParentQuery[S]], HasIgnoreUnmapped[HasParentQuery[S]], HasBoost[HasParentQuery[S]], ElasticQuery[S], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HasParentQuery
  2. HasInnerHits
  3. HasIgnoreUnmapped
  4. HasBoost
  5. ElasticQuery
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. 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. The boost 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 default boost 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
  2. 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 for ignoreUnmapped parameter

    returns

    a new instance of the zio.elasticsearch.query.ElasticQuery with the ignoreUnmapped value set.

    Definition Classes
    HasIgnoreUnmapped
  3. 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
  4. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. final def ignoreUnmappedFalse: HasParentQuery[S]

    Sets the ignoreUnmapped parameter to false for this zio.elasticsearch.query.ElasticQuery.

    Sets the ignoreUnmapped parameter to false 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 to false.

    Definition Classes
    HasIgnoreUnmapped
    See also

    #ignoreUnmapped

  11. final def ignoreUnmappedTrue: HasParentQuery[S]

    Sets the ignoreUnmapped parameter to true for this zio.elasticsearch.query.ElasticQuery.

    Sets the ignoreUnmapped parameter to true 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 to true.

    Definition Classes
    HasIgnoreUnmapped
    See also

    #ignoreUnmapped

  12. 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
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def withScoreFalse: HasParentQuery[S]

    Sets the score parameter to false for this HasParentQuery.

    Sets the score parameter to false for this HasParentQuery. Same as withScore(false).

    returns

    an instance of HasParentQuery with the score value set to false.

    See also

    #withScore

  23. final def withScoreTrue: HasParentQuery[S]

    Sets the score parameter to true for this HasParentQuery.

    Sets the score parameter to true for this HasParentQuery. Same as withScore(true).

    returns

    an instance of HasParentQuery with the score value set to true.

    See also

    #withScore

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from HasInnerHits[HasParentQuery[S]]

Inherited from HasIgnoreUnmapped[HasParentQuery[S]]

Inherited from HasBoost[HasParentQuery[S]]

Inherited from ElasticQuery[S]

Inherited from AnyRef

Inherited from Any

Ungrouped