code | type | title | description | order |
---|---|---|---|---|
true |
page |
constructor |
SearchResult:constructor |
1 |
This class represents a paginated search result.
It can be returned by the following methods:
Property | Type | Description |
---|---|---|
aggregations |
Map<String, dynamic> |
Search aggregations (can be undefined) |
hits |
List<dynamic> |
Page results |
total |
int |
Total number of items that can be retrieved |
fetched |
int |
Number of retrieved items so far |
Each element of the hits
ArrayList is a List<dynamic>
containing the following properties:
Property | Type | Description |
---|---|---|
_id |
String |
Document ID |
_score |
int |
Relevance score |
_source |
Map<String, dynamic> |
Document content |