* @param value
* the boost value, it may vary from 0.0 to 1.0
*/
public BoostQueryNode(QueryNode query, float value) {
if (query == null) {
throw new QueryNodeError(new MessageImpl(
QueryParserMessages.NODE_ACTION_NOT_SUPPORTED, "query", "null"));
}
this.value = value;
setLeaf(false);