Re: allow_explicit_index and _bulk

2014-10-27 Thread Niccolò Becchi
Sorry my friends, my mistake, after one week I have discovered that the correct syntax is: POST /foo/bar/_bulk { index: {_id : 1} } {baz: foobar } It works! Thanks Niccolo Il giorno giovedì 23 ottobre 2014 16:39:39 UTC+1, Niccolò Becchi ha scritto: Thanks Jörg for the prompt answer. However,

Re: allow_explicit_index and _bulk

2014-10-22 Thread Niccolò Becchi
This issue looks to be fixed on https://github.com/elasticsearch/elasticsearch/issues/4668 However, on elasticsearch-1.3.4, running the example with rest.action.multi.allow_explicit_index: false: ``` POST /foo/bar/_bulk { index: {} } { _id : 1, baz: foobar } ``` I am getting the exception: ```

Re: allow_explicit_index and _bulk

2014-01-09 Thread Alexander Reelsen
Hey, after having a very quick look, it looks like a bug (or wrong documentation, need to check further). Can you create a github issue? Thanks! --Alex On Wed, Jan 8, 2014 at 11:08 PM, Gabe Gorelick-Feldman gabegorel...@gmail.com wrote: The documentation on URL-based access

Re: allow_explicit_index and _bulk

2014-01-09 Thread Gabe Gorelick-Feldman
Opened an issue: https://github.com/elasticsearch/elasticsearch/issues/4668 On Thursday, January 9, 2014 3:39:39 AM UTC-5, Alexander Reelsen wrote: Hey, after having a very quick look, it looks like a bug (or wrong documentation, need to check further). Can you create a github issue?

allow_explicit_index and _bulk

2014-01-08 Thread Gabe Gorelick-Feldman
The documentation on URL-based access controlhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/url-access-control.html implies that _bulk still works if you set rest.action.multi.allow_explicit_index: false, as long as you specify the index in the URL. However, I can't get