*
* @throws QueryNodeException
*/
public BoostQueryNode(QueryNode query, float value) throws QueryNodeException {
if (query == null) {
throw new QueryNodeError(new MessageImpl(
QueryParserMessages.NODE_ACTION_NOT_SUPPORTED, new Object[]{"query", "null"}));
}
this.value = value;
setLeaf(false);