Package com.algolia.model.search
Class AutomaticFacetFilter
java.lang.Object
com.algolia.model.search.AutomaticFacetFilter
Filter or optional filter to be applied to the search.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AutomaticFacetFilter
public AutomaticFacetFilter()
-
-
Method Details
-
setFacet
-
getFacet
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`. -
setScore
-
getScore
Filter scores to give different weights to individual filters. -
setDisjunctive
-
getDisjunctive
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. -
equals
-
hashCode
public int hashCode() -
toString
-