C++ api for Elastic search

12,803

Solution 1

Any networking library should work fine. Libcurl is probably the easiest/fastest to get running, since all you really need are simple HTTP requests (Get/Put/Post/Delete)

Solution 2

I just released one on github: https://github.com/QHedgeTech/cpp-elasticsearch.

There is one home made http client included but it can easily be plugged to libcurl. It's still minimal, hope to see you contribute so it'll match your needs too.

cpp-elasticsearch is a small C++ API to elasticsearch, it aims at becomming the official one. Documentation is still to come, as well as a "get started" page.

Actual version is minimal and has been developped for the needs of Q-Hedge Technologies. Features of C++11 are used in this code.

Share:
12,803
new_sys_admin
Author by

new_sys_admin

Updated on June 09, 2022

Comments

  • new_sys_admin
    new_sys_admin about 2 years

    From what I understand, elasticsearch doesn't provide C++ api with it. So, I'm assuming that I should use a library to send/receive http requests for indexing and searching. Any recommendations on the library that would suit elastic search needs? Thanks.