@Override
    @SuppressWarnings("unchecked")
    public CloseableIterator<T> iterate() {
        return new IteratorAdapter<T>(createQuery(false).iterate());
    }
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