querqy.lucene.rewrite.cache.TermQueryCacheValue 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
/**
*
*/
package querqy.lucene.rewrite.cache;
import querqy.lucene.rewrite.LuceneQueryFactory;
import querqy.lucene.rewrite.LuceneQueryFactoryAndPRMSQuery;
import querqy.lucene.rewrite.prms.PRMSQuery;
/**
* @author rene
*
*/
public class TermQueryCacheValue extends LuceneQueryFactoryAndPRMSQuery {
public TermQueryCacheValue(LuceneQueryFactoryAndPRMSQuery queryFactoryAndPRMSQuery) {
this(queryFactoryAndPRMSQuery.queryFactory, queryFactoryAndPRMSQuery.prmsQuery);
}
public TermQueryCacheValue(LuceneQueryFactory> queryFactory, PRMSQuery prmsQuery) {
super(queryFactory, prmsQuery);
}
public boolean hasQuery() {
return queryFactory != null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy