Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.43 KB

File metadata and controls

34 lines (26 loc) · 1.43 KB
code type title description order
true
page
constructor
SearchResult:constructor
1

SearchResults

This class represents a paginated search result.

It can be returned by the following methods:

Properties

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

hits

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