QueryBuilder
, StandardQueryBuilder
public class BoostQueryNodeBuilder extends Object implements StandardQueryBuilder
Query
object set on the
BoostQueryNode
child using
QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
and applies the boost value
defined in the BoostQueryNode
.Constructor | Description |
---|---|
BoostQueryNodeBuilder() |
Modifier and Type | Method | Description |
---|---|---|
org.apache.lucene.search.Query |
build(QueryNode queryNode) |
Builds some kind of object from a query tree.
|
public org.apache.lucene.search.Query build(QueryNode queryNode) throws QueryNodeException
QueryBuilder
build
in interface QueryBuilder
build
in interface StandardQueryBuilder
queryNode
- the query tree root nodeQueryNodeException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.