Deletes all documents containing term. This is useful if one uses a document Field to hold a unique ID string for the document. Then to delete such a document, one merely constructs a term with the appropriate Field and the unique ID string as its text and passes it to this method. Returns the number of documents deleted.
IndexReader Class | Lucene.Net.Index Namespace | IndexReader.Delete Overload List