So here is what I've come up with for the JobSearcher
.
Brian suggested that breaking this out into another controller which is what I started doing. I haven't looked too much into what the convention here is, so this is just a spike.
I applied what I learned from looking at the Sunspot source to make the searcher.
The main property that we seem to organize Jobs into is by state. From there, an aspect
can be called, returning a Sunspot object. I'm aware that some of this will become the responsibility of Tasks, but what I learned from looking at the Sunspot source can be applied to that as well.