querqy.lucene.LuceneRawQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of querqy-lucene Show documentation
Show all versions of querqy-lucene Show documentation
Querqy library for query rewriting for Lucene
The newest version!
package querqy.lucene;
import org.apache.lucene.search.Query;
import querqy.model.BooleanParent;
import querqy.model.ParsedRawQuery;
import querqy.model.QuerqyQuery;
public class LuceneRawQuery extends ParsedRawQuery {
public LuceneRawQuery(final BooleanParent parent, final Occur occur, final boolean isGenerated, final Query query) {
super(parent, occur, isGenerated, query);
}
@Override
public QuerqyQuery clone(final BooleanParent newParent) {
return new LuceneRawQuery(newParent, occur, isGenerated(), query);
}
@Override
public QuerqyQuery clone(final BooleanParent newParent, final boolean generated) {
return new LuceneRawQuery(newParent, occur, generated, query);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy