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