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

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