Apache Lucene.Net 2.4.0 Class Library API

IndexWriter.DeleteDocuments Method (Query)

Deletes the document(s) matching the provided query. @param query the query 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 query
);

See Also

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