SearchResult<T> class
Represents an offset-based search result
- Inheritance
-
- Object
- Searcheable<
T> - SearchResult
- Available Extensions
Constructors
-
SearchResult({required Map<
String, dynamic> src, required String indexUid, required List<T> hits, required Map<String, Map< ? facetDistribution, required int? processingTimeMs, required String? query, required Map<String, int> >String, FacetStat> ? facetStats, required List? vector, required int? offset, required int? limit, required int? estimatedTotalHits}) -
const
Properties
- estimatedTotalHits → int?
-
Estimated number of matches
final
-
facetDistribution
→ Map<
String, Map< ?String, int> > -
Distribution of the given facets
finalinherited
-
facetStats
→ Map<
String, FacetStat> ? -
Distribution of the given facets
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hits
→ List<
T> -
Results of the query
finalinherited
- indexUid → String
-
finalinherited
- limit → int?
-
Number of documents to take
final
- offset → int?
-
Number of documents skipped
final
- processingTimeMs → int?
-
Processing time of the query
finalinherited
- query → String?
-
Query originating the response
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
src
→ Map<
String, dynamic> -
finalinherited
- vector → List?
-
finalinherited
Methods
-
asPaginatedResult(
) → PaginatedSearchResult< T> -
inherited
-
asSearchResult(
) → SearchResult< T> -
inherited
-
map<
TOther> (MeilisearchDocumentMapper< T, TOther> mapper) → SearchResult<TOther> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited