/* * call-seq: * iw.max_field_length = max_field_length -> max_field_length * * Set the max_field_length parameter */ static VALUE frb_iw_set_max_field_length(VALUE self, VALUE rval) { IndexWriter *iw = (IndexWriter *)DATA_PTR(self); iw->config.max_field_length = FIX2INT(rval); return rval; }