No parser for element [filtered]

Hello, I need a filtered query like described here
http://www.elasticsearch.org/guide/reference/query-dsl/filtered-query.html
but I get an error saying No parser for element [filtered].

This is the gist of my query and error: https://gist.github.com/1164853

I use ES version 17.4 .

Any help will be very much appreciated.

ok Ignore this it looks like a problem in elasticsearch-head.

On Aug 23, 2:04 pm, Ridvan Gyundogan ridva...@gmail.com wrote:

Hello, I need a filtered query like described herehttp://www.elasticsearch.org/guide/reference/query-dsl/filtered-query...
but I get an error saying No parser for element [filtered].

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

I use ES version 17.4 .

Any help will be very much appreciated.

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": { .... } }}

clint

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