sunspot/sunspot — Issue #101: Make QueryFacets accessible with "with()"
Author: the8472
Created: 2011-10-10 10:15:53+00:00
State: open

It would be useful if named query facets and their rows could be used just like regular fields, this way one would just have to pass in the facet+row name to the DSL after the user selected a facet row.

I.e.

```
Sunspot.search(Class) do
facet(:foo) do
row(:bar1) do
with(:baz, 42)
end
row(:bar2) do
with(:baz, 2)
end
end

with(:foo,:bar2)
end
```