com.mysema.query.lucene.LuceneQuery Maven / Gradle / Ivy
/*
* Copyright (c) 2010 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.query.lucene;
import org.apache.commons.collections15.Transformer;
import org.apache.lucene.document.Document;
import org.apache.lucene.search.Searcher;
/**
* LuceneQuery is a Querydsl query implementation for Lucene queries.
*
* @author vema
*/
public class LuceneQuery extends AbstractLuceneQuery{
private static final Transformer TRANSFORMER = new Transformer() {
@Override
public Document transform(Document input) {
return input;
}
};
public LuceneQuery(Searcher searcher) {
super(searcher, TRANSFORMER);
}
public LuceneQuery(LuceneSerializer luceneSerializer, Searcher searcher) {
super(luceneSerializer, searcher, TRANSFORMER);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy