Based on the following, filtered queries clearly should be supported for 
the _count endpoint.
http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-count

Whenever I use "filtered" instead of a "query", I always get an error like:

QueryParsingException[[a] request does not support [filtered]];
Get the gist:
https://gist.github.com/logosdev/d236420f7d9e3806755d

Is the documentation wrong, or I am constructing this query incorrectly?  

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/4326a216-1ffe-4c0b-bb7a-6ddd7a74a4fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to