/* * call-seq: * fi.has_norms? -> bool * * Return true if this field has a norms file. This is the same as calling; * * fi.indexed? and not fi.omit_norms? */ static VALUE frb_fi_has_norms(VALUE self) { FieldInfo *fi = (FieldInfo *)DATA_PTR(self); return fi_has_norms(fi) ? Qtrue : Qfalse; }