/*
* call-seq:
* term_doc_enum.doc -> doc_id
*
* Returns the current document number pointed to by the +term_doc_enum+.
*/
static VALUE
frt_tde_doc(VALUE self)
{
TermDocEnum *tde = (TermDocEnum *)DATA_PTR(self);
return INT2FIX(tde->doc_num(tde));
}