@Override
    public Q distinct() {
        throw new UnsupportedOperationException("use distinct(path) instead");
    }
Create a filter for constraints defined in this querydsl

@return filter
querydsl-lucene4/src/main/java/com/querydsl/lucene4/AbstractLuceneQuery.java