public class DefaultPhraseSlopQueryNodeProcessor extends QueryNodeProcessorImpl
StandardQueryConfigHandler.ConfigurationKeys.PHRASE_SLOP
is defined in the QueryConfigHandler. If it is, it looks for every
TokenizedPhraseQueryNode and MultiPhraseQueryNode that does
not have any SlopQueryNode applied to it and creates an
SlopQueryNode and apply to it. The new SlopQueryNode has the
same slop value defined in the configuration. | Constructor and Description |
|---|
DefaultPhraseSlopQueryNodeProcessor() |
| Modifier and Type | Method and Description |
|---|---|
QueryNode |
process(QueryNode queryTree)
Processes a query node tree.
|
getQueryConfigHandler, setQueryConfigHandlerpublic QueryNode process(QueryNode queryTree) throws QueryNodeException
QueryNodeProcessornull.process in interface QueryNodeProcessorprocess in class QueryNodeProcessorImplqueryTree - tree root nodeQueryNodeExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved