mattbaird/elastigo

Filtered Query

Opened this issue · 0 comments

Hey,

As far as i can see Elasticsearch doesn't support filtered using POST. Is DoCommand the only way to achieve this in elastigo?

http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_combining_queries_with_filters.html

From the docs about _search http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-body.html

Both HTTP GET and HTTP POST can be used to execute search with body. Since not all clients support GET with body, POST is allowed as well.