Skip to content

Batch Submit API #138

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

Closed
egaumer opened this issue Apr 16, 2010 · 3 comments
Closed

Batch Submit API #138

egaumer opened this issue Apr 16, 2010 · 3 comments

Comments

@egaumer
Copy link

egaumer commented Apr 16, 2010

In cases where a lot of existing data needs to be indexed, it would be helpful to support batching of documents in an attempt to reduce the message passing overhead associated with HTTP.

The goal would be to submit a batch of documents using a single HTTP call. Tradeoffs associated with such a feature are expected.

@ghost
Copy link

ghost commented May 11, 2010

Try to use the java-api instead of curl.
On my machine I was able to index 1 Mio documents a 4Kb in 50 minutes :)
Look at that FeederDemo.java:

http://pascal.selfip.org/jforum/posts/list/117.page

Make sure you already have a data-node running (bin/elasticsearch -f should do) and that you execute the FeederDemo.java on the same machine (or at least on a network where the Demo and the data-node see each other).

oo

@kimchy
Copy link
Member

kimchy commented May 12, 2010

Yo, have not forgotten about this issue. Its a bit tricky to implement correctly. Will get 0.7 out of the way and see if I can get back to it.

@kimchy
Copy link
Member

kimchy commented Jan 23, 2011

Closing as this has been implemented in the bulk api.

This issue was closed.
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

2 participants