/* * call-seq: * query.boost * * Returns the queries boost value. See the Query description for more * information on Query boosts. */ static VALUE frt_q_get_boost(VALUE self) { GET_Q(); return rb_float_new((double)q->boost); }