The search index
Optional
documents: readonly Document[]The documents to be removed. If this argument is omitted, all documents are removed. Note that, for removing all documents, it is more efficient to call this method with no arguments than to pass all documents.
Removes all the given documents from the index. If called with no arguments, it removes all documents from the index.