Anchoring

algoliasearch.search.Anchoring
See theAnchoring companion trait
object Anchoring

Which part of the search query the pattern should match: - startsWith. The pattern must match the begginning of the query. - endsWith. The pattern must match the end of the query. - is. The pattern must match the query exactly. - contains. The pattern must match anywhere in the query. Empty queries are only allowed as pattern with anchoring: is.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Anchoring.type

Members list

Type members

Classlikes

case object Contains extends Anchoring

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Anchoring
class Object
trait Matchable
class Any
Show all
Self type
Contains.type
case object EndsWith extends Anchoring

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Anchoring
class Object
trait Matchable
class Any
Show all
Self type
EndsWith.type
case object Is extends Anchoring

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Anchoring
class Object
trait Matchable
class Any
Show all
Self type
Is.type
case object StartsWith extends Anchoring

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Anchoring
class Object
trait Matchable
class Any
Show all
Self type
StartsWith.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def withName(name: String): Anchoring

Concrete fields

val values: Seq[Anchoring]