sealed trait ScriptQuery extends ElasticQuery[Any] with HasBoost[ScriptQuery]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScriptQuery
  2. HasBoost
  3. ElasticQuery
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def boost(value: Double): ScriptQuery

    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