#include <mongocxx/v_noabi/mongocxx/search_index_view.hpp>
A MongoDB Atlas Search Index.
Public Member Functions | |
| search_index_view (v1::search_indexes search_index_view) | |
| Construct with the mongocxx::v1 equivalent. | |
| std::vector< std::string > | create_many (std::vector< v_noabi::search_index_model > const &models) |
| Creates multiple search indexes in the collection. | |
| std::vector< std::string > | create_many (v_noabi::client_session const &session, std::vector< v_noabi::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 (v_noabi::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 (v_noabi::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 (v_noabi::client_session const &session, v_noabi::search_index_model const &model) |
| This is a convenience method for creating a single search index. | |
| std::string | create_one (v_noabi::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 (v_noabi::client_session const &session, bsoncxx::v_noabi::string::view_or_value name) |
| Drops a single search index from the collection by the index name. | |
| v_noabi::cursor | list (bsoncxx::v_noabi::string::view_or_value name, v_noabi::options::aggregate const &options={}) |
| Returns a cursor over all the search indexes. | |
| v_noabi::cursor | list (v_noabi::client_session const &session, bsoncxx::v_noabi::string::view_or_value name, v_noabi::options::aggregate const &options={}) |
| Returns a cursor over all the search indexes. | |
| v_noabi::cursor | list (v_noabi::client_session const &session, v_noabi::options::aggregate const &options={}) |
| Returns a cursor over all the search indexes. | |
| v_noabi::cursor | list (v_noabi::options::aggregate const &options={}) |
| Returns a cursor over all the search indexes. | |
| operator v1::search_indexes () && | |
| Convert to the mongocxx::v1 equivalent. | |
| operator v1::search_indexes () const & | |
| Convert to the mongocxx::v1 equivalent. | |
| 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 (v_noabi::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. | |
|
inline |
Construct with the mongocxx::v1 equivalent.
| std::vector< std::string > mongocxx::v_noabi::search_index_view::create_many | ( | std::vector< v_noabi::search_index_model > const & | models | ) |
Creates multiple search indexes in the collection.
| models | The search index models to create. |
| std::vector< std::string > mongocxx::v_noabi::search_index_view::create_many | ( | v_noabi::client_session const & | session, |
| std::vector< v_noabi::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::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 | ( | v_noabi::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 | ( | v_noabi::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 | ( | v_noabi::client_session const & | session, |
| v_noabi::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 | ( | v_noabi::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 | ( | v_noabi::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. |
| v_noabi::cursor mongocxx::v_noabi::search_index_view::list | ( | bsoncxx::v_noabi::string::view_or_value | name, |
| v_noabi::options::aggregate const & | options = {} ) |
Returns a cursor over all the search indexes.
| name | The name of the search index to find. |
| options | Options included in the aggregate operation. |
| v_noabi::cursor mongocxx::v_noabi::search_index_view::list | ( | v_noabi::client_session const & | session, |
| bsoncxx::v_noabi::string::view_or_value | name, | ||
| v_noabi::options::aggregate const & | options = {} ) |
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. |
| v_noabi::cursor mongocxx::v_noabi::search_index_view::list | ( | v_noabi::client_session const & | session, |
| v_noabi::options::aggregate const & | options = {} ) |
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. |
| v_noabi::cursor mongocxx::v_noabi::search_index_view::list | ( | v_noabi::options::aggregate const & | options = {} | ) |
Returns a cursor over all the search indexes.
| options | Options included in the aggregate operation. |
|
inlineexplicit |
Convert to the mongocxx::v1 equivalent.
|
inlineexplicit |
Convert to the mongocxx::v1 equivalent.
| 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 | ( | v_noabi::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. |