@SuppressWarnings("unchecked")
    @Override
    public QueryResults<T> fetchResults() {
        FullTextQuery query = createQuery(false);
        return new QueryResults<T>(query.list(), queryMixin.getMetadata().getModifiers(), query.getResultSize());
    }
Abstract base class for Hibernate Search query classes

@param <T> result type
@param <Q> concrete subtype
querydsl-hibernate-search/src/main/java/com/querydsl/hibernate/search/AbstractSearchQuery.java