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

querqy.lucene.rewrite.cache.TermQueryCacheValue Maven / Gradle / Ivy

There is a newer version: 5.8.lucene961.1
Show newest version
/**
 * 
 */
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