Apache Lucene.Net 2.4.0 Class Library API

IndexWriter.DeleteDocuments Method (Term[])

Deletes the document(s) containing any of the terms. All deletes are flushed at the same time.

public virtual void DeleteDocuments(
   Term[] terms
);

Parameters

terms
array of terms to identify the documents to be deleted

See Also

IndexWriter Class | Lucene.Net.Index Namespace | IndexWriter.DeleteDocuments Overload List