SDK
SDK Java v3.x
2

# SearchResults

This class represents a paginated search result.

It can be returned by the following methods:

# Namespace

You must include the following package:

Copied to clipboard!
import io.kuzzle.sdk.CoreClasses.SearchResult;

# Properties

Property Type Description
aggregations
ConcurrentHashMap<String, Object>
Search aggregations (can be undefined)
hits
ArrayList<ConcurrentHashMap<String, Object>>
Page results
total
Integer
Total number of items that can be retrieved
fetched
Integer
Number of retrieved items so far

# hits

Each element of the hits ArrayList is a ConcurrentHashMap<String, Object> containing the following properties:

Property Type Description
_id
String
Document ID
_score
Integer
Relevance score
_source
ConcurrentHashMap<String, Object>
Document content