/* * call-seq: * query.boost = boost -> boost * * Set the boost for a query. See the Query description for more information * on Query boosts. */ static VALUE frb_q_set_boost(VALUE self, VALUE rboost) { GET_Q(); q->boost = (float)NUM2DBL(rboost); return rboost; }