Apache Lucene.Net 2.4.0 Class Library API

IndexWriter.DeleteDocuments Method (Query[])

Deletes the document(s) matching any of the provided queries. All deletes are flushed at the same time. @param queries array of queries to identify the documents to be deleted @throws CorruptIndexException if the index is corrupt @throws System.IO.IOException if there is a low-level IO error

public void DeleteDocuments(
   Query[] queries
);

See Also

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