clean up and simplify on-disk inverted index to improve concurrency