elasticsearch/elasticsearch — Issue #1688: The example for Filtered Queries does not work
Author: pennyfx
Created: 2012-02-09 19:24:40+00:00
State: open

http://www.elasticsearch.org/guide/reference/query-dsl/filtered-query.html

this works:

```javascript
{
"query":{
"filtered" : {
"query" : {
"term" : { "tag" : "wow" }
},
"filter" : {
"range" : {
"age" : { "from" : 10, "to" : 20 }
}
}
}
}
}
```

I'm having a really hard time creating queries that I want from the docs.