object Fuzziness
- Alphabetic
- By Inheritance
- Fuzziness
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class AutoLength(lowLength: Int, highLength: Int) extends Fuzziness with Product with Serializable
Chooses an edit distance automatically based on the length of the term, using the given length thresholds.
Chooses an edit distance automatically based on the length of the term, using the given length thresholds. Terms shorter than
lowLengthmust match exactly. Terms with a length fromlowLengthup to (but not including)highLengthare allowed an edit distance of 1. Terms of at leasthighLengthare allowed an edit distance of 2.Elasticsearch expects
0 <= lowLength <= highLength; this is not validated by this type.- lowLength
the length below which terms must match exactly
- highLength
the length at or above which terms are allowed an edit distance of 2
- sealed trait EditDistance extends Fuzziness
Uses a fixed maximum edit distance.
Uses a fixed maximum edit distance. Elasticsearch only allows
0,1or2.
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
- 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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])
- case object Auto extends Fuzziness with Product with Serializable
Chooses an edit distance automatically based on the length of the term, using Elasticsearch's default length thresholds (equivalent to
AutoLength(lowLength = 3, highLength = 6)). - object EditDistance