Facet Query

Hi all,

Can any body give the adject reason for Why we use post in place of put in facet query?

Thanx

Regards
Sumit Gupta

If I understood what you wrote:
It's a search request. Search is using POST.
You don't add something in ES when asking for facets. So you don't PUT
something.

You just POST a request.

My 2 cents.
David.

Le 16 avril 2012 à 15:44, Sumit Guptaa sumit.gupta.ngi@gmail.com a écrit
:

Hi all,

Can any body give the adject reason for Why we use post in place of put
in
facet query?

Thanx

Regards
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Facet-Query-tp3914439p3914439.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

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

I agree with David.

You see Sumit: PUT, POST and GET are all concepts of making basic web
requests using HTTP.
PUT has a specific intention or purpose. That purpose being to add somthing.
POST owes no such meaning to its usage.

Try reading a small part of the following article and it should help you
feel more in charge of these concepts:

On Mon, Apr 16, 2012 at 8:50 AM, david@pilato.fr david@pilato.fr wrote:

**

If I understood what you wrote:

It's a search request. Search is using POST.

You don't add something in ES when asking for facets. So you don't PUT
something.

You just POST a request.

My 2 cents.

David.

Le 16 avril 2012 à 15:44, Sumit Guptaa sumit.gupta.ngi@gmail.com a
écrit :

Hi all,

Can any body give the adject reason for Why we use post in place of put
in
facet query?

Thanx

Regards
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Facet-Query-tp3914439p3914439.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

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