public class StandardQueryRunnerFactory extends java.lang.Object implements QueryProcessingRunnerFactory
Modifier and Type | Field and Description |
---|---|
protected com.exalead.flis.FLISServiceClient |
dictionary |
LinguisticExpanderResource |
lingRes |
protected SearchLogic |
searchLogic |
protected com.exalead.indexing.analysis.semantic.SemanticProcessorFactoryCtx |
spCtx |
TemplateResource |
tempRes |
protected TokenizationConfig |
tokConf |
Constructor and Description |
---|
StandardQueryRunnerFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCustomProcessors(java.util.List<CustomProcessor> conf,
java.util.List<QueryProcessor> list) |
QueryProcessingRunner |
create() |
QueryProcessingRunner |
getRunner() |
void |
handlePrefixHandler(StandardQueryRunner sqp,
com.exalead.mercury.plugin.CVPluginManager pluginManager,
java.lang.ClassLoader cl,
PrefixSupervisor prefixVisitor,
TemplatePrefixSupervisor templateVisitor,
java.util.List<QueryPrefixHandler> handlers) |
protected QueryProcessor |
makeCustomProcessor(CustomProcessor c) |
void |
onPreDestroy() |
void |
setDictionary(com.exalead.flis.FLISServiceClient dict) |
void |
setLogic(SearchLogic logic,
TokenizationConfig tokConf) |
void |
setSemanticProcessorFactoryContext(com.exalead.indexing.analysis.semantic.SemanticProcessorFactoryCtx ctx) |
protected SearchLogic searchLogic
protected TokenizationConfig tokConf
public LinguisticExpanderResource lingRes
public TemplateResource tempRes
protected com.exalead.flis.FLISServiceClient dictionary
protected com.exalead.indexing.analysis.semantic.SemanticProcessorFactoryCtx spCtx
public void onPreDestroy()
onPreDestroy
in interface QueryProcessingRunnerFactory
public void setDictionary(com.exalead.flis.FLISServiceClient dict)
setDictionary
in interface QueryProcessingRunnerFactory
public QueryProcessingRunner getRunner()
getRunner
in interface QueryProcessingRunnerFactory
public void setLogic(SearchLogic logic, TokenizationConfig tokConf)
setLogic
in interface QueryProcessingRunnerFactory
public void setSemanticProcessorFactoryContext(com.exalead.indexing.analysis.semantic.SemanticProcessorFactoryCtx ctx)
public void handlePrefixHandler(StandardQueryRunner sqp, com.exalead.mercury.plugin.CVPluginManager pluginManager, java.lang.ClassLoader cl, PrefixSupervisor prefixVisitor, TemplatePrefixSupervisor templateVisitor, java.util.List<QueryPrefixHandler> handlers)
public QueryProcessingRunner create()
create
in interface QueryProcessingRunnerFactory
protected void addCustomProcessors(java.util.List<CustomProcessor> conf, java.util.List<QueryProcessor> list)
protected QueryProcessor makeCustomProcessor(CustomProcessor c)
Copyright © 2013 Dassault Systèmes, All Rights Reserved.