LUCENE-1020: created basic tool to check an index, print details of each segment, and fix the index by removing broken segments