I was just wondering why Elasticsearch facets are queried with a POST,
as opposed to a GET, request. Does Elastic search store facets on the
system to be used again later, or are they more of a one time thing
like search queries?
facets are just part of a search request, and the search request can be
executed either using a GET, or using a POST. The reason why it also
supports POST is because some HTTP client libs have problems sending GET
requests with a body.
I was just wondering why Elasticsearch facets are queried with a POST,
as opposed to a GET, request. Does Elastic search store facets on the
system to be used again later, or are they more of a one time thing
like search queries?
facets are just part of a search request, and the search request can be
executed either using a GET, or using a POST. The reason why it also
supports POST is because some HTTP client libs have problems sending GET
requests with a body.
I was just wondering why Elasticsearch facets are queried with a POST,
as opposed to a GET, request. Does Elastic search store facets on the
system to be used again later, or are they more of a one time thing
like search queries?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.