48class search_index_view {
53 search_index_view(search_index_view&& other)
noexcept =
default;
54 search_index_view& operator=(search_index_view&& other)
noexcept =
default;
59 ~search_index_view() =
default;
65 : _indexes{std::move(search_index_view)} {}
76 return std::move(_indexes);
300 return {std::move(v)};
Provides mongocxx::v_noabi::options::aggregate.
Support for MongoDB Atlas Search indexes.
Definition search_indexes.hpp:51
Supports MongoDB client session operations.
Definition client_session.hpp:58
A cursor over the documents returned by a query to a MongoDB server.
Definition cursor.hpp:50
Used by mongocxx::v_noabi::search_index_view.
Definition search_index_model.hpp:41
A MongoDB Atlas Search Index.
Definition search_index_view.hpp:48
void drop_one(bsoncxx::v_noabi::string::view_or_value name)
Drops a single search index from the collection by the index name.
search_index_view(v1::search_indexes search_index_view)
Construct with the mongocxx::v1 equivalent.
Definition search_index_view.hpp:64
std::string create_one(bsoncxx::v_noabi::document::view_or_value definition)
This is a convenience method for creating a single search index with a default name.
v_noabi::cursor list(v_noabi::options::aggregate const &options={})
Returns a cursor over all the search indexes.
std::vector< std::string > create_many(std::vector< v_noabi::search_index_model > const &models)
Creates multiple search indexes in the collection.
void update_one(bsoncxx::v_noabi::string::view_or_value name, bsoncxx::v_noabi::document::view_or_value definition)
Updates a single search index from the collection by the search index name.
Provides bsoncxx::v_noabi::document::view_or_value.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities representing bulk write operations.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v_noabi::search_index_model.
Declares mongocxx::v_noabi::search_index_view.
Provides mongocxx::v1::search_indexes.
Provides bsoncxx::v_noabi::string::view_or_value.
Provides std::optional-related polyfills for library API usage.
Declares mongocxx::v_noabi::client_session.
Declares mongocxx::v_noabi::collection.
Provides mongocxx::v_noabi::cursor.