t

zio.elasticsearch.query

MultiMatchQuery

sealed trait MultiMatchQuery[S] extends ElasticQuery[S] with HasBoost[MultiMatchQuery[S]] with HasMinimumShouldMatch[MultiMatchQuery[S]]

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

Abstract Value Members

  1. abstract def boost(value: Double): MultiMatchQuery[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 fields(field: String, fields: String*): MultiMatchQuery[S]

    Sets the fields parameter for this zio.elasticsearch.query.ElasticQuery.

    Sets the fields parameter for this zio.elasticsearch.query.ElasticQuery. The fields parameter is array of fields that will be searched.

    fields

    a array of fields to set fields parameter to

    returns

    an instance of the zio.elasticsearch.query.ElasticQuery enriched with the fields parameter.

  3. abstract def fields[S1 <: S](field: Field[S1, String], fields: Field[S1, String]*)(implicit arg0: Schema[S1]): MultiMatchQuery[S1]

    Sets the type-safe fields parameter for this zio.elasticsearch.query.ElasticQuery.

    Sets the type-safe fields parameter for this zio.elasticsearch.query.ElasticQuery. The fields parameter is array of type-safe fields that will be searched.

    fields

    a array of type-safe fields to set fields parameter to

    returns

    an instance of the zio.elasticsearch.query.ElasticQuery enriched with the type-safe fields parameter.

  4. abstract def matchingType(matchingType: MultiMatchType): MultiMatchQuery[S]

    Sets the type parameter for this zio.elasticsearch.query.ElasticQuery.

    Sets the type parameter for this zio.elasticsearch.query.ElasticQuery. The type parameter decides the way zio.elasticsearch.query.ElasticQuery is executed internally.

    matchingType

    the zio.elasticsearch.query.MultiMatchType value of 'type' parameter, possible values are:

    returns

    an instance of the zio.elasticsearch.query.ElasticQuery enriched with the type parameter.

  5. abstract def minimumShouldMatch(value: Int): MultiMatchQuery[S]

    Sets the minimumShouldMatch parameter for this zio.elasticsearch.ElasticQuery.

    Sets the minimumShouldMatch parameter for this zio.elasticsearch.ElasticQuery. The minimumShouldMatch value is the number of should clauses returned documents must match. If the zio.elasticsearch.query.BoolQuery includes at least one should clause and no must/filter clauses, the default value is 1. Otherwise, the default value is 0.

    value

    a number to set minimumShouldMatch parameter to

    returns

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

    Definition Classes
    HasMinimumShouldMatch