querqy.elasticsearch.infologging.ESInfoLoggingContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of querqy-elasticsearch Show documentation
Show all versions of querqy-elasticsearch Show documentation
Querqy library for query rewriting: Querqy for Elasticsearch
package querqy.elasticsearch.infologging;
import querqy.infologging.InfoLogging;
import querqy.infologging.InfoLoggingContext;
import querqy.rewrite.SearchEngineRequestAdapter;
public class ESInfoLoggingContext extends InfoLoggingContext {
public ESInfoLoggingContext(final InfoLogging infoLogging,
final SearchEngineRequestAdapter searchEngineRequestAdapter) {
super(infoLogging, searchEngineRequestAdapter);
}
@Override
public void log(final Object message) {
if (isEnabledForRewriter()) {
super.log(message);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy