text: public BoostQueryNode(IQueryNode query, float value){if (query == null){throw new QueryNodeError(new Message(QueryParserMessages.NODE_ACTION_NOT_SUPPORTED, "query", "null"));}this.value = value;IsLeaf = false;Allocate();Add(query);}