Search Template - Issue with documentation on website


(Vilas Reddy Podduturi) #1

I was referring to following link regarding search template:

https://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-template.html

I see that all the examples use GET method in the documentation. But for me they don't work with GET but instead work with POST.
Is it some problem at my end or the documentation has to be corrected?

Thanks.


(David Pilato) #2

Well I guess it depends on your client but GET is fine.
We only added the support for POST in case some clients don't support GET with BODY


(Vilas Reddy Podduturi) #3

I was using head plugin.


(system) #4