MongoDB C++ Driver mongocxx-4.0.0
|
#include <mongocxx/v_noabi/mongocxx/search_index_model.hpp>
Class representing a search index on a MongoDB server.
mongocxx::v_noabi::search_index_model::search_index_model | ( | bsoncxx::v_noabi::document::view_or_value | definition | ) |
Initializes a new search_index_model over a mongocxx::v_noabi::collection.
|
noexcept |
Move constructs a search_index_model.
mongocxx::v_noabi::search_index_model::search_index_model | ( | const search_index_model & | ) |
Copy constructs a search_index_model.
mongocxx::v_noabi::search_index_model::~search_index_model | ( | ) |
Destroys a search_index_model.
bsoncxx::v_noabi::document::view mongocxx::v_noabi::search_index_model::definition | ( | ) | const |
Retrieves definition of a search_index_model.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > mongocxx::v_noabi::search_index_model::name | ( | ) | const |
Retrieves name of a search_index_model.
search_index_model & mongocxx::v_noabi::search_index_model::operator= | ( | const search_index_model & | ) |
Copy assigns a search_index_model.
|
noexcept |
Move assigns a search_index_model.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > mongocxx::v_noabi::search_index_model::type | ( | ) | const |
Retrieves type of a search_index_model.
search_index_model & mongocxx::v_noabi::search_index_model::type | ( | bsoncxx::v_noabi::string::view_or_value | type | ) |
Sets type of a search_index_model.
type | The type for this index. Can be either "search" or "vectorSearch". |