Search 6 groundwork - Release ChangesetWorker WorkPlan resources when a transaction is rolled back
The idea would be to call something like ChangesetWorker WorkPlan.clear() when a transaction is rolled back, so as to release memory. See org.hibernate.search.v6poc.entity.orm.impl.PostTransactionWorkQueueSynchronization#afterCompletion