_bulk API change in 0.12.0 release?

Hi kimchy

First, thanks for the 0.12.0 release. Has something change in the
_bulk API? The
same code that works in 0.11.0 throws now some errors with 0.12.0

ActionRequestValidationException[Validation Failed: 1: index is
missing2:
type is missing3: index is missing4: type is missing5: ...

Type and index are defined as written here:
http://www.elasticsearch.com/docs/elasticsearch/rest_api/bulk/

Nicolas

Yes, the bulk API changed, here are the details:
Issues · elastic/elasticsearch · GitHub.

On Tue, Oct 19, 2010 at 3:23 PM, ruflin ruflin@gmail.com wrote:

Hi kimchy

First, thanks for the 0.12.0 release. Has something change in the
_bulk API? The
same code that works in 0.11.0 throws now some errors with 0.12.0

ActionRequestValidationException[Validation Failed: 1: index is
missing2:
type is missing3: index is missing4: type is missing5: ...

Type and index are defined as written here:
http://www.elasticsearch.com/docs/elasticsearch/rest_api/bulk/

Nicolas

This solved the problem. Thanks.

On Oct 19, 3:24 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Yes, the bulk API changed, here are the details:Issues · elastic/elasticsearch · GitHub.

On Tue, Oct 19, 2010 at 3:23 PM, ruflin ruf...@gmail.com wrote:

Hi kimchy

First, thanks for the 0.12.0 release. Has something change in the
_bulk API? The
same code that works in 0.11.0 throws now some errors with 0.12.0

ActionRequestValidationException[Validation Failed: 1: index is
missing2:
type is missing3: index is missing4: type is missing5: ...

Type and index are defined as written here:
http://www.elasticsearch.com/docs/elasticsearch/rest_api/bulk/

Nicolas