SDK
SDK Javascript v7.x
2

Properties #

Property Type Description
aggregations
object
Search aggregations (can be undefined)
fetched
number
Number of retrieved items so far
hits
object[]
Page results
suggest
number
Suggesters results
Available since 7.6.0
total
number
Total number of items that can be retrieved

hits #

Each object of the hits array contain the following properties:

Property Type Description
_id
string
Document ID
_score
number
Relevance score
_source
object
Document content