Class SlopQueryNodeBuilder
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.builders.SlopQueryNodeBuilder
-
- All Implemented Interfaces:
QueryBuilder
,StandardQueryBuilder
public class SlopQueryNodeBuilder extends Object implements StandardQueryBuilder
This builder basically reads theQuery
object set on theSlopQueryNode
child usingQueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
and applies the slop value defined in theSlopQueryNode
.
-
-
Constructor Summary
Constructors Constructor Description SlopQueryNodeBuilder()
-
-
-
Method Detail
-
build
public Query build(QueryNode queryNode) throws QueryNodeException
Description copied from interface:QueryBuilder
Builds some kind of object from a query tree.- Specified by:
build
in interfaceQueryBuilder
- Specified by:
build
in interfaceStandardQueryBuilder
- Parameters:
queryNode
- the query tree root node- Returns:
- some object generated from the query tree
- Throws:
QueryNodeException
-
-