def update_document(self, document):
        index_cursor = IndexCursor(self._get_cursor())
        document.save(index_cursor, update=True)
        index_cursor.execute()
Related to #67, test for consuming all requeued messages
dataset/ETHPy150Open Net-ng/kansha/kansha/services/search/sqliteengine.py/SQLiteFTSEngine.update_document--crossover with--dataset/ETHPy150Open jookies/jasmin/jasmin/queues/test/test_amqp.py/RejectAndRequeueTestCase.test_consume_all_requeued_messages