You are looking at documentation for an older release.
Not what you want? See the
current release documentation.
And Queryedit

Deprecated in 2.0.0-beta1.
Use the bool
query instead.
A query that matches documents using the AND
boolean operator on other
queries.
{ "filtered" : { "query" : { "term" : { "name.first" : "shay" } }, "filter" : { "and" : [ { "range" : { "postDate" : { "from" : "2010-03-01", "to" : "2010-04-01" } } }, { "prefix" : { "name.second" : "ba" } } ] } } }