I've since been informed this is a known issue and a bug has been raised
for it, so a fix is on the way.

On 6 January 2015 at 07:57, Mark Walkom <markwal...@gmail.com> wrote:

> It'd be great if you could raise this as an issue on github for this
> behaviour to be checked - https://github.com/elasticsearch/elasticsearch
>
> On 6 January 2015 at 00:06, Paul Scott <p...@duedil.com> wrote:
>
>> Regarding the behaviour of Sense to automatically choose POST regardless
>> of the user writing GET:
>>
>> I was recently rewriting a search query I had written in the Sense UI
>> from a search query to a request for a raw document by ID, using the GET
>> API. In the process of changing from
>>
>> GET /index/type/_search
>> { ... }
>>
>>
>> to
>>
>> GET /index/type/id
>>
>>
>> I submitted
>>
>> GET /index/type/id
>> {... }
>>
>>
>> which Sense helpfully submitted as a POST request, over-writing the
>> document with the search query. In production.
>>
>> To say that this behaviour was unexpected and unhelpful would be an
>> understatement. I would consider it irresponsible and unsafe, and I highly
>> recommend the behaviour be disabled.
>>
>> Please try to read past my obvious irritation and the part of this
>> mistake which falls on my head, to the part in this mistake that the Sense
>> UI played too.
>>
>> All the best,
>>
>> Paul
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to elasticsearch+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/f2588751-a008-4b59-9041-b63c098580dd%40googlegroups.com
>> <https://groups.google.com/d/msgid/elasticsearch/f2588751-a008-4b59-9041-b63c098580dd%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-Fxju8SodKDp_LuaK8WXfQuLjtgK2RGD%3DbOkQ2wTi9iQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to