search plugin: transactions/state; local search; cleanup