/* * call-seq: * index_writer.analyzer -> Analyzer * * Get the Analyzer for this IndexWriter. This is useful if you need * to use the same analyzer in a QueryParser. */ static VALUE frt_iw_get_analyzer(VALUE self) { IndexWriter *iw = (IndexWriter *)DATA_PTR(self); return frt_get_analyzer(iw->analyzer); }