How to get instance of com.day.cq.search.Trends when using QueryBuilder
We have been using first com.day.cq.wcm.foundation.Search and then com.day.cq.search.SimpleSearch to do our sitewide searching. We're moving to using QueryBuilder now as neither of the other search classes provides the flexibility we need. My question is how do I get to the Trends object that is returned by Search and SimpleSearch? I can't find anything in the documentation that tells me how I can get an instance of that class.