AutomaticFacetFilter

algoliasearch.search.AutomaticFacetFilter
case class AutomaticFacetFilter(facet: String, score: Option[Int], disjunctive: Option[Boolean])

Filter or optional filter to be applied to the search.

Value parameters

disjunctive

Whether the filter is disjunctive or conjunctive. If true the filter has multiple matches, multiple occurences are combined with the logical OR operation. If false, multiple occurences are combined with the logical AND operation.

facet

Facet name to be applied as filter. The name must match placeholders in the pattern parameter. For example, with pattern: {facet:genre}, automaticFacetFilters must be genre.

score

Filter scores to give different weights to individual filters.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product