org.apache.lucene.queryParser.standard.builders
Class StandardBooleanQueryNodeBuilder
java.lang.Object
org.apache.lucene.queryParser.standard.builders.StandardBooleanQueryNodeBuilder
- All Implemented Interfaces:
- QueryBuilder, StandardQueryBuilder
public class StandardBooleanQueryNodeBuilder
- extends Object
- implements StandardQueryBuilder
This builder does the same as the BooleanQueryNodeBuilder
, but this
considers if the built BooleanQuery
should have its coord disabled or
not.
- See Also:
BooleanQueryNodeBuilder
,
BooleanQuery
,
Similarity.coord(int, int)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardBooleanQueryNodeBuilder
public StandardBooleanQueryNodeBuilder()
build
public BooleanQuery build(QueryNode queryNode)
throws QueryNodeException
- Description copied from interface:
QueryBuilder
- Builds some kind of object from a query tree.
- Specified by:
build
in interface QueryBuilder
- Specified by:
build
in interface StandardQueryBuilder
- Parameters:
queryNode
- the query tree root node
- Returns:
- some object generated from the query tree
- Throws:
QueryNodeException