version 1.1.3
index optimization takes place before the on_stop_indexing call