SearchResponse class
The result of a Search
request. Contains the documents that
match the specified search criteria and any requested fields, highlights,
and facet information.
Constructors
-
SearchResponse({Map<
String, BucketInfo> ? facets, Hits? hits, Map<String, FieldStats> ? stats, SearchStatus? status}) -
SearchResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
facets
→ Map<
String, BucketInfo> ? -
The requested facet information.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hits → Hits?
-
The documents that match the search criteria.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stats
→ Map<
String, FieldStats> ? -
The requested field statistics information.
final
- status → SearchStatus?
-
The status information returned for the search request.
final
Methods
-
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