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. Terms
shorter than lowLength must match exactly. Terms with a length from lowLength up to (but not including)
highLength are allowed an edit distance of 1. Terms of at least highLength are 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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AutoLength
- Serializable
- Product
- Equals
- Fuzziness
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val highLength: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lowLength: Int
- 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
- AutoLength → 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])