SearchQuery class

Implementers

Constructors

SearchQuery({int? offset, int? limit, int? page, int? hitsPerPage, Object? filter, MeiliOperatorExpressionBase? filterExpression, List<String>? sort, List<String>? facets, List<String>? attributesToRetrieve, List<String>? attributesToCrop, int? cropLength, List<String>? attributesToHighlight, bool? showMatchesPosition, String? cropMarker, String? highlightPreTag, String? highlightPostTag, MatchingStrategy? matchingStrategy, List<String>? attributesToSearchOn, bool? showRankingScore, bool? showRankingScoreDetails, List? vector})
const

Properties

attributesToCrop List<String>?
final
attributesToHighlight List<String>?
final
attributesToRetrieve List<String>?
final
attributesToSearchOn List<String>?
final
cropLength int?
final
cropMarker String?
final
facets List<String>?
final
filter Object?
final
filterExpression MeiliOperatorExpressionBase?
final
hashCode int
The hash code for this object.
no setterinherited
highlightPostTag String?
final
highlightPreTag String?
final
hitsPerPage int?
final
limit int?
final
matchingStrategy MatchingStrategy?
final
offset int?
final
page int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showMatchesPosition bool?
final
showRankingScore bool?
final
showRankingScoreDetails bool?
final
sort List<String>?
final
vector List?
final

Methods

buildMap() Map<String, Object?>
For use with POST methods that can handle JSON types
copyWith({int? offset, int? limit, int? page, int? hitsPerPage, Object? filter, MeiliOperatorExpressionBase? filterExpression, List<String>? sort, List<String>? facets, List<String>? attributesToRetrieve, List<String>? attributesToCrop, int? cropLength, List<String>? attributesToHighlight, bool? showMatchesPosition, String? cropMarker, String? highlightPreTag, String? highlightPostTag, MatchingStrategy? matchingStrategy, List<String>? attributesToSearchOn, bool? showRankingScore, List? vector, bool? showRankingScoreDetails}) SearchQuery
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toQuery() Map<String, Object>
For use with GET methods that require queryParameters
inherited
toSparseMap() Map<String, Object>
Returns a map with only non-null and non-empty fields
inherited
toString() String
A string representation of this object.
inherited
toURIString(Object value) Object
inherited

Operators

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