dedico/tire_sample — pull request #1 by karmi (2012-07-10 13:43:03+00:00)
Title: [FIX] Fixed incorrect `facet_filter` option and cleaned up the code

* The `facet_filter` option for facets must be part of the facet definition,
_not_ part of the _filter_ definition; see

* The correct syntax in Tire is `search.facet('myname', facet_filter: { terms: { foo: 'bar' } }) { terms 'myfield', size: 500 }`

* Cleaned and tightened up the code

Closes #1.