/* * call-seq: * index_writer.version -> int * * Returns the current version of the index writer. */ static VALUE frt_iw_version(VALUE self) { IndexWriter *iw = (IndexWriter *)DATA_PTR(self); return ULL2NUM(iw->sis->version); }