    /*
     *  call-seq:
     *     index_reader.has_deletions? -> bool
     *
     *  Return true if the index has any deletions, either uncommited by this
     *  IndexReader or committed by any other IndexReader.
     */
    static VALUE
    frt_ir_has_deletions(VALUE self)
    {
        IndexReader *ir = (IndexReader *)DATA_PTR(self);
        return ir->has_deletions(ir) ? Qtrue : Qfalse;
    }