All Downloads are FREE. Search and download functionalities are using the official Maven repository.

querqy.lucene.LuceneRawQuery Maven / Gradle / Ivy

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