SDK
SDK C++ v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

This SDK has been deprecated because of stability issues. It is not advised to use it in a production environment.

SearchResult #

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 {
        public:
            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 {
        public:
            SpecificationSearchResult* next() const;
    };
}