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

support bulk request #11

Closed
davie opened this issue Jan 28, 2013 · 6 comments
Closed

support bulk request #11

davie opened this issue Jan 28, 2013 · 6 comments
Labels

Comments

@davie
Copy link
Contributor

davie commented Jan 28, 2013

Hi there,
Any plans to support bulk requests http://www.elasticsearch.org/guide/reference/api/bulk.html?
In particular bulk inserts.

Thanks

@michaelklishin
Copy link
Member

In 1.1

@davie
Copy link
Contributor Author

davie commented Jan 31, 2013

I've started looking at this here https://github.com/davie/elastisch/commits/bulk-insert
The request format is a little odd - newlines separate the items, which makes generating the json slightly clumsy.
I'll add tests for delete (I don't think ES supports updates yet) and start a pull request.

@michaelklishin
Copy link
Member

Looks promising!

@michaelklishin
Copy link
Member

@davie is there anything else you want to add as part of Bulk API support in the REST API? I hope to finish native client in the next week or so and then stabilize it over the course of another week. Then we can release 1.1. There
can also be any number of betas along the way, so even if the native client takes more time, your changes
can be released for you to use.

Alternatively, the native client feature can be postponed for 1.2. What do you say?

@davie
Copy link
Contributor Author

davie commented Feb 18, 2013

I think it's probably done now.
I'm not in a rush for a release immediately. I'm working on a project that's using our own wrapper around the native java ES api which I'm hoping to switch over to elastisch.
I think performance through the rest API will be good enough for us, but I still need to check this.

@michaelklishin
Copy link
Member

Closing per @davie's comment.

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

No branches or pull requests

2 participants