The class is used to retrieve the subsequent paginated results of a search query.
The following methods returns a SearchResult or a SpecificationSearchResult (which acts the same):

Public class definition

Copied to clipboard!
namespace kuzzleio {
    class SearchResult {
            SearchResult* next() const;

            // Getters
            size_t total() const;
            size_t fetched() const;
            const std::string& aggregations() const;
            const std::string& hits() const;
            const std::string& scroll_id() const;

    class SpecificationSearchResult : public SearchResult {
            SpecificationSearchResult* next() const;