#include <elasticsearch.hpp>
|
| es_client (const std::string &p_base_url, const std::string &p_auth) |
|
bool | check_status () const |
|
std::string | get_version () const |
|
void | check_version_7_or_above (bool &result) const noexcept |
|
bool | send_bulk (const std::vector< std::string > &bulk_lines) const |
|
bool | del (const std::string &path) const |
|
std::string | get (const std::string &path) const |
|
std::string | query (const std::string &path, const std::string &query) const |
|
Definition at line 95 of file elasticsearch.hpp.
◆ es_client()
graphene::utilities::es_client::es_client |
( |
const std::string & |
p_base_url, |
|
|
const std::string & |
p_auth |
|
) |
| |
|
inline |
◆ check_status()
bool graphene::utilities::es_client::check_status |
( |
| ) |
const |
◆ check_version_7_or_above()
void graphene::utilities::es_client::check_version_7_or_above |
( |
bool & |
result | ) |
const |
|
noexcept |
◆ del()
bool graphene::utilities::es_client::del |
( |
const std::string & |
path | ) |
const |
◆ get()
std::string graphene::utilities::es_client::get |
( |
const std::string & |
path | ) |
const |
◆ get_version()
std::string graphene::utilities::es_client::get_version |
( |
| ) |
const |
◆ query()
std::string graphene::utilities::es_client::query |
( |
const std::string & |
path, |
|
|
const std::string & |
query |
|
) |
| const |
◆ send_bulk()
bool graphene::utilities::es_client::send_bulk |
( |
const std::vector< std::string > & |
bulk_lines | ) |
const |
◆ request_size_threshold
constexpr size_t graphene::utilities::es_client::request_size_threshold = 4 * 1024 * 1024 |
|
staticconstexpr |
When doing bulk operations, call send_bulk when the approximate size of pending data reaches this value.
Definition at line 110 of file elasticsearch.hpp.
The documentation for this class was generated from the following files: