deleteDocuments
Deletes the document(s) containing any of the terms. All given deletes are applied and flushed atomically at the same time.
Return
The #sequence_number for this operation
Parameters
terms
array of terms to identify the documents to be deleted
Throws
if the index is corrupt
IOException
if there is a low-level IO error
Deletes the document(s) matching any of the provided queries. All given deletes are applied and flushed atomically at the same time.
Return
The #sequence_number for this operation
Parameters
queries
array of queries to identify the documents to be deleted
Throws
if the index is corrupt
IOException
if there is a low-level IO error