删除Lucene索引

若需要从索引中删除某一个或者某一类文档,IndexReader提供了两种方法: reader.DeleteDocument(int docNum) reader.DeleteDocuments(Term……