No parser for element [filtered]

On Wed, Aug 24, 2011 at 10:51 AM, Clinton Gormley clint@traveljury.comwrote:

On Tue, 2011-08-23 at 04:04 -0700, Ridvan Gyundogan wrote:

Hello, I need a filtered query like described here

Elasticsearch Platform — Find real-time answers at scale | Elastic

but I get an error saying No parser for element [filtered].

This is the gist of my query and error: the error · GitHub

the "filtered" clause should be wrapped in an outer "query" clause:

{ "query": { "filtered": { .... } }}

Only for the top level search API :slight_smile:

clint