AutomaticFacetFilter class final

Annotations
  • @JsonSerializable()

Constructors

AutomaticFacetFilter({required String facet, int? score, bool? disjunctive})
Returns a new AutomaticFacetFilter instance.
const
AutomaticFacetFilter.fromJson(Map<String, dynamic> json)
factory

Properties

disjunctive bool?
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.
final
facet String
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.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score int?
Filter scores to give different weights to individual filters.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override