Need some clarity about ElasticSearch (GET, POST & PUT)


(Arun Prakash) #1

Hi Guys,

I am using elasticsearch in my application, i need to have some clarity (Explanation) about the GET, POST and PUT in Elastic Search if any one can find URL to clarify my Question please give a reply to this post with the URLs,

Thank you very much in Advance


(David Pilato) #2

Hi Arun,

GET is to get one document or one meta-data for example :
http://www.elasticsearch.org/guide/reference/api/admin-indices-get-mapping.html
http://www.elasticsearch.org/guide/reference/api/admin-indices-get-mapping.html
PUT is to PUT onde document or to set some meta-data : for example
http://www.elasticsearch.org/guide/reference/api/index_.html
http://www.elasticsearch.org/guide/reference/api/index_.html
DELETE is to remove one document or one meta-data

POST is used when you need to POST parameters to some end points, such as
_search : http://www.elasticsearch.org/guide/reference/api/search/
http://www.elasticsearch.org/guide/reference/api/search/

I don't know what I could say more...
Is that what you are after ?

HTH
David.

Le 7 mai 2012 à 15:36, Arun Prakash arung.mca@gmail.com a écrit :

Hi Guys,

I am using elasticsearch in my application, i need to have some clarity
(Explanation) about the GET, POST and PUT in Elastic Search if any one can
find URL to clarify my Question please give a reply to this post with the
URLs,

Thank you very much in Advance

--
David Pilato
http://dev.david.pilato.fr/
Twitter : @dadoonet


(system) #3