69 [[nodiscard]]
auto took() const -> std::chrono::nanoseconds
89 return success_partition_count_;
98 return error_partition_count_;
107 return total_partition_count_;
120 std::chrono::nanoseconds took_{};
121 std::uint64_t total_rows_{};
122 std::uint64_t success_partition_count_{};
123 std::uint64_t error_partition_count_{};
124 std::uint64_t total_partition_count_{};
Search Metrics contains the search result metrics containing counts and timings.
Definition search_metrics.hxx:33
search_metrics(std::chrono::nanoseconds took, std::uint64_t total_rows, std::uint64_t success_partition_count, std::uint64_t error_partition_count, std::uint64_t total_partition_count, double max_score)
Definition search_metrics.hxx:45
auto success_partition_count() const -> std::uint64_t
Definition search_metrics.hxx:87
auto total_rows() const -> std::uint64_t
Definition search_metrics.hxx:78
auto took() const -> std::chrono::nanoseconds
The total time taken for the request, that is the time from when the request was received until the r...
Definition search_metrics.hxx:69
auto max_score() const -> double
Definition search_metrics.hxx:114
auto error_partition_count() const -> std::uint64_t
Definition search_metrics.hxx:96
auto total_partition_count() const -> std::uint64_t
Definition search_metrics.hxx:105
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28