const responseReset = await index.reset(); // 'Success'
The reset method allows you to clear all documents from a particular index.
reset
'Success' if the database is successfully reset.
'Success'
Was this page helpful?