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