/*
* call-seq:
* iw.doc_count -> number
*
* Returns the number of documents in the Index. Note that deletions won't be
* taken into account until the IndexWriter has been committed.
*/
static VALUE
frt_iw_get_doc_count(VALUE self)
{
IndexWriter *iw = (IndexWriter *)DATA_PTR(self);
return INT2FIX(iw_doc_count(iw));
}