karmi/tire — pull request #467 by NOX73 (2012-10-03 16:41:19+00:00)
Title: Add Facet Filter

http://www.elasticsearch.org/guide/reference/api/search/facets/index.html

```
{
"facets" : {
"" : {
"" : {
...
},
"facet_filter" : {
"term" : { "user" : "kimchy"}
}
}
}
}
```
Now you can
```ruby
@search.facet 'obj' do
terms :field
facet_filter :term, :state => 'published'
end
```