Commands
Reset
The reset method allows you to clear all documents from a particular index.
Response
'Success' if the database is successfully reset.
Basic
const responseReset = await index.reset();// 'Success'The reset method allows you to clear all documents from a particular index.
'Success' if the database is successfully reset.
const responseReset = await index.reset();// 'Success'