28#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
29class internal_search_row;
54 [[nodiscard]]
auto index() const -> const std::
string&;
60 [[nodiscard]] auto
id() const -> const std::
string&;
66 [[nodiscard]] auto
score() const ->
double;
72 [[nodiscard]] auto
fields() const -> const codec::binary&;
74 template<typename Serializer,
75 typename Document = typename Serializer::document_type,
76 std::enable_if_t<codec::is_serializer_v<Serializer>,
bool> = true>
82 return Serializer::template deserialize<Document>(
fields());
89 [[nodiscard]]
auto explanation() const -> const codec::binary&;
101 [[nodiscard]] auto
fragments() const -> const std::map<std::
string, std::vector<std::
string>>&;
104 std::unique_ptr<internal_search_row> internal_;
Definition search_row_locations.hxx:39
Search Metrics contains the search result metrics containing counts and timings.
Definition search_row.hxx:39
search_row(internal_search_row internal)
auto fields() const -> const codec::binary &
search_row(search_row &&other) noexcept
auto locations() const -> const std::optional< search_row_locations > &
auto fragments() const -> const std::map< std::string, std::vector< std::string > > &
auto fields_as() const -> Document
Definition search_row.hxx:77
auto explanation() const -> const codec::binary &
auto index() const -> const std::string &
auto operator=(search_row &&other) noexcept -> search_row &
auto score() const -> double
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28