Searcheable<T> class
abstract
Represents a search result.
Can be one of:
- SearchResult if offset, limit are used.
- PaginatedSearchResult if page, hitsPerPage are used.
- Implementers
- Available extensions
Constructors
Properties
-
facetDistribution
→ Map<
String, Map< ?String, int> > -
Distribution of the given facets
final
-
facetStats
→ Map<
String, FacetStat> ? -
Distribution of the given facets
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hits
→ List<
T> -
Results of the query
final
- indexUid → String
-
final
- processingTimeMs → int?
-
Processing time of the query
final
- query → String?
-
Query originating the response
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
src
→ Map<
String, dynamic> -
final
- vector → List?
-
final
Methods
-
asPaginatedResult(
) → PaginatedSearchResult< T> -
asSearchResult(
) → SearchResult< T> -
map<
TOther> (MeilisearchDocumentMapper< T, TOther> mapper) → Searcheable<TOther> -
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
Static Methods
-
createSearchResult(
Map< String, Object?> map, {String? indexUid}) → Searcheable<Map< String, dynamic> >