object MinimumShouldMatch

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MinimumShouldMatch
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Combination(conditions: NonEmptyChunk[Condition]) extends MinimumShouldMatch with Product with Serializable

    One or more conditional specifications, evaluated from left to right.

    One or more conditional specifications, evaluated from left to right. Each condition whose threshold is less than the number of optional clauses overrides the previous one, and the evaluation stops at the first condition whose threshold is greater than or equal to it. If no condition applies, all optional clauses are required.

    Therefore, the conditions should be given in ascending order of their threshold values (e.g. with 5 optional clauses, 9<-3 2<-25% requires all 5 of them); this type does not validate this.

    conditions

    the non-empty chunk of zio.elasticsearch.query.MinimumShouldMatch.Conditions

  2. final case class Condition(threshold: Int, value: Simple) extends Product with Serializable

    A conditional specification used within a zio.elasticsearch.query.MinimumShouldMatch.Combination.

    A conditional specification used within a zio.elasticsearch.query.MinimumShouldMatch.Combination. If the total number of optional clauses is less than or equal to the threshold, all of them are required. Otherwise, the given value applies.

    threshold

    the number of optional clauses up to which all of them are required

    value

    the zio.elasticsearch.query.MinimumShouldMatch.Simple value that applies when the number of optional clauses is greater than the threshold

  3. final case class Count(value: Int) extends Simple with Product with Serializable

    A fixed number of optional clauses.

    A fixed number of optional clauses. A positive value is the number of optional clauses that must match, regardless of the total number of optional clauses. A negative value is the number of optional clauses that may be missing, i.e., the total number of optional clauses minus this number must match.

    value

    the number of optional clauses that must match (if positive) or may be missing (if negative)

  4. final case class Percentage(value: Int) extends Simple with Product with Serializable

    A percentage of the total number of optional clauses.

    A percentage of the total number of optional clauses. A positive value is the percentage of optional clauses that must match, while a negative value is the percentage of optional clauses that may be missing. The computed number is rounded down.

    value

    the percentage of optional clauses that must match (if positive) or may be missing (if negative)

  5. sealed trait Simple extends MinimumShouldMatch

    A minimum_should_match value that is either a fixed number or a percentage of optional clauses.

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

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 AnyRef

Inherited from Any

Ungrouped