- close IndexWriter at end of indexDocs(…).