MongoDB C++ Driver 4.1.0
|
#include <mongocxx/v_noabi/mongocxx/search_index_view.hpp>
A MongoDB Atlas Search Index.
Public Member Functions | |
std::vector< std::string > | create_many (client_session const &session, std::vector< search_index_model > const &models) |
Creates multiple search indexes in the collection. | |
std::vector< std::string > | create_many (std::vector< search_index_model > const &models) |
Creates multiple search indexes in the collection. | |
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. | |
std::string | create_one (bsoncxx::v_noabi::string::view_or_value name, bsoncxx::v_noabi::document::view_or_value definition) |
This is a convenience method for creating a single search index. | |
std::string | create_one (client_session const &session, bsoncxx::v_noabi::document::view_or_value definition) |
This is a convenience method for creating a single search index with a default name. | |
std::string | create_one (client_session const &session, bsoncxx::v_noabi::string::view_or_value name, bsoncxx::v_noabi::document::view_or_value definition) |
This is a convenience method for creating a single search index. | |
std::string | create_one (client_session const &session, search_index_model const &model) |
This is a convenience method for creating a single search index. | |
std::string | create_one (search_index_model const &model) |
This is a convenience method for creating a single search index. | |
void | drop_one (bsoncxx::v_noabi::string::view_or_value name) |
Drops a single search index from the collection by the index name. | |
void | drop_one (client_session const &session, bsoncxx::v_noabi::string::view_or_value name) |
Drops a single search index from the collection by the index name. | |
cursor | list (bsoncxx::v_noabi::string::view_or_value name, options::aggregate const &options=options::aggregate()) |
Returns a cursor over all the search indexes. | |
cursor | list (client_session const &session, bsoncxx::v_noabi::string::view_or_value name, options::aggregate const &options=options::aggregate()) |
Returns a cursor over all the search indexes. | |
cursor | list (client_session const &session, options::aggregate const &options=options::aggregate()) |
Returns a cursor over all the search indexes. | |
cursor | list (options::aggregate const &options=options::aggregate()) |
Returns a cursor over all the search indexes. | |
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. | |
void | update_one (client_session const &session, 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. | |
std::vector< std::string > mongocxx::v_noabi::search_index_view::create_many | ( | client_session const & | session, |
std::vector< search_index_model > const & | models ) |
Creates multiple search indexes in the collection.
session | The mongocxx::v_noabi::client_session with which to perform the operation. |
models | The search index models to create. |
std::vector< std::string > mongocxx::v_noabi::search_index_view::create_many | ( | std::vector< search_index_model > const & | models | ) |
Creates multiple search indexes in the collection.
models | The search index models to create. |
std::string mongocxx::v_noabi::search_index_view::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.
definition | The document describing the search index to be created. |
std::string mongocxx::v_noabi::search_index_view::create_one | ( | bsoncxx::v_noabi::string::view_or_value | name, |
bsoncxx::v_noabi::document::view_or_value | definition ) |
This is a convenience method for creating a single search index.
name | The name of the search index to create. |
definition | The document describing the search index to be created. |
std::string mongocxx::v_noabi::search_index_view::create_one | ( | client_session const & | session, |
bsoncxx::v_noabi::document::view_or_value | definition ) |
This is a convenience method for creating a single search index with a default name.
session | The mongocxx::v_noabi::client_session with which to perform the operation. |
definition | The document describing the search index to be created. |
std::string mongocxx::v_noabi::search_index_view::create_one | ( | client_session const & | session, |
bsoncxx::v_noabi::string::view_or_value | name, | ||
bsoncxx::v_noabi::document::view_or_value | definition ) |
This is a convenience method for creating a single search index.
session | The mongocxx::v_noabi::client_session with which to perform the operation. |
name | The name of the search index to create. |
definition | The document describing the search index to be created. |
std::string mongocxx::v_noabi::search_index_view::create_one | ( | client_session const & | session, |
search_index_model const & | model ) |
This is a convenience method for creating a single search index.
session | The mongocxx::v_noabi::client_session with which to perform the operation. |
model | The search index model to create. |
std::string mongocxx::v_noabi::search_index_view::create_one | ( | search_index_model const & | model | ) |
This is a convenience method for creating a single search index.
model | The search index model to create. |
void mongocxx::v_noabi::search_index_view::drop_one | ( | bsoncxx::v_noabi::string::view_or_value | name | ) |
Drops a single search index from the collection by the index name.
name | The name of the search index to drop. |
void mongocxx::v_noabi::search_index_view::drop_one | ( | client_session const & | session, |
bsoncxx::v_noabi::string::view_or_value | name ) |
Drops a single search index from the collection by the index name.
session | The mongocxx::v_noabi::client_session with which to perform the operation. |
name | The name of the search index to drop. |
cursor mongocxx::v_noabi::search_index_view::list | ( | bsoncxx::v_noabi::string::view_or_value | name, |
options::aggregate const & | options = options::aggregate() ) |
Returns a cursor over all the search indexes.
name | The name of the search index to find. |
options | Options included in the aggregate operation. |
cursor mongocxx::v_noabi::search_index_view::list | ( | client_session const & | session, |
bsoncxx::v_noabi::string::view_or_value | name, | ||
options::aggregate const & | options = options::aggregate() ) |
Returns a cursor over all the search indexes.
session | The mongocxx::v_noabi::client_session with which to perform the list operation. |
name | The name of the search index to find. |
options | Options included in the aggregate operation. |
cursor mongocxx::v_noabi::search_index_view::list | ( | client_session const & | session, |
options::aggregate const & | options = options::aggregate() ) |
Returns a cursor over all the search indexes.
session | The mongocxx::v_noabi::client_session with which to perform the list operation. |
options | Options included in the aggregate operation. |
cursor mongocxx::v_noabi::search_index_view::list | ( | options::aggregate const & | options = options::aggregate() | ) |
Returns a cursor over all the search indexes.
options | Options included in the aggregate operation. |
void mongocxx::v_noabi::search_index_view::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.
name | The name of the search index to update. |
definition | The definition to update the search index to. |
void mongocxx::v_noabi::search_index_view::update_one | ( | client_session const & | session, |
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.
session | The mongocxx::v_noabi::client_session with which to perform the operation. |
name | The name of the search index to update. |
definition | The definition to update the search index to. |