'Remove the full-text index'

@staticmethod
def document_ondelete(row):

    db = current.db
    table = db.doc_document
    record = db((table.id == row.id)).select(table.file, limitby=(0, 1)).first()
    document = json.dumps(dict(filename=record.file, id=row.id))
    current.s3task.async('document_delete_index', args=[document])
