Results class
Represents the response for QueryType.search, QueryType.geo and QueryType.range type of SearchController.
Properties
- customData → Map?
-
no setter
-
data
↔ List<
Map< String, dynamic> > -
An array of results obtained from the applied query.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Number of hidden results found.
no setter
- numberOfResults → int
-
Total number of results found.
no setter
-
parseResults
↔ (List<
Map< Function(List<String, dynamic> >Map> results, [List<Map> ? sourceData])?) -
To parse the results.
getter/setter pair
- promoted → int
-
Number of promoted results found.
no setter
-
promotedData
→ List<
Map> -
An array of promoted results obtained from the applied query.
no setter
- raw ↔ Map?
-
Raw response returned by ES query
getter/setter pair
- rawData → Map?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → int
-
Total time taken by request (in ms).
no setter
Methods
-
clone(
) → Results -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setData(
List< Map< data) → voidString, dynamic> > -
setRaw(
Map? rawResponse) → void - Method to set the raw response form Elasticsearch
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited