Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using bulk api? #20

Open
Mrliu88888888 opened this issue Dec 21, 2020 · 1 comment
Open

using bulk api? #20

Mrliu88888888 opened this issue Dec 21, 2020 · 1 comment

Comments

@Mrliu88888888
Copy link

I want to know how to use the bulk interface,

@Mrliu88888888
Copy link
Author

This is how my bulk function passes parameters,

void main()
{
/*
...
*/

Json::Object j;
string s = "{ "index": { "_index": "website" }}\n{ "event": "User logged in" }";
cout << s.c_str() << endl;
es.bulk(s.c_str(), j);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant