final case class Combination(conditions: NonEmptyChunk[Condition]) extends MinimumShouldMatch with Product with Serializable
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
- Self Type
- Combination
- Alphabetic
- By Inheritance
- Combination
- Serializable
- Product
- Equals
- MinimumShouldMatch
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Combination(conditions: NonEmptyChunk[Condition])
- conditions
the non-empty chunk of zio.elasticsearch.query.MinimumShouldMatch.Conditions
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
- def addCondition(condition: Condition): Combination
Adds a zio.elasticsearch.query.MinimumShouldMatch.Condition to the end of this zio.elasticsearch.query.MinimumShouldMatch.Combination.
Adds a zio.elasticsearch.query.MinimumShouldMatch.Condition to the end of this zio.elasticsearch.query.MinimumShouldMatch.Combination. Since the conditions should be in ascending order of their
thresholdvalues, the given condition should have a greaterthresholdthan all existing ones.- condition
the zio.elasticsearch.query.MinimumShouldMatch.Condition to be added
- returns
a new instance of zio.elasticsearch.query.MinimumShouldMatch.Combination with the given condition added.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val conditions: NonEmptyChunk[Condition]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Combination → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])