Skip to content

support bulk request #11

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

2 participants

@davie
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
ClojureWerkz member

In 1.1

@davie
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
ClojureWerkz member

Looks promising!

@michaelklishin
ClojureWerkz 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
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
ClojureWerkz member

Closing per @davie's comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.