public class SpellCheckRunner extends java.lang.Object implements QueryProcessingRunner
Constructor and Description |
---|
SpellCheckRunner(com.exalead.flis.FLISServiceClient dictionary,
SpellCheckerConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
handleProgressiveQuery(QueryContext queryContext) |
void |
handleQuery(QueryContext context) |
protected Node |
handleUQLQuery(QueryContext context,
java.lang.String queryName,
java.lang.String uqlQuery) |
protected Node |
handleUserQueryString(QueryContext context,
java.lang.String queryName) |
void |
onDeinit(boolean allInstances)
Called when this instance of the runner is deinitialized.
|
void |
onInit(SearchLogic logic)
Called when this instance of the runner is created
|
public SpellCheckRunner(com.exalead.flis.FLISServiceClient dictionary, SpellCheckerConfig config)
public void handleQuery(QueryContext context) throws QueryProcessingException
handleQuery
in interface QueryProcessingRunner
QueryProcessingException
protected Node handleUQLQuery(QueryContext context, java.lang.String queryName, java.lang.String uqlQuery) throws QueryProcessingException
QueryProcessingException
protected Node handleUserQueryString(QueryContext context, java.lang.String queryName) throws QueryProcessingException
QueryProcessingException
public void onInit(SearchLogic logic)
QueryProcessingRunner
onInit
in interface QueryProcessingRunner
logic
- The logic on which this runner will workpublic void onDeinit(boolean allInstances)
QueryProcessingRunner
onDeinit
in interface QueryProcessingRunner
allInstances
- Hint indicating whether all instances of the processor
are going to be deinitialized, or only this one.public void handleProgressiveQuery(QueryContext queryContext)
handleProgressiveQuery
in interface QueryProcessingRunner
Copyright © 2013 Dassault Systèmes, All Rights Reserved.