(Quick Reference)
deleteIndex
Purpose
Delete one or more existing indices, whether they correspond to a searchable class or not.
Examples
elasticSearchAdminService.deleteIndex()
Description
deleteIndex
signatures:
void deleteIndex() // Delete all indices
void deleteIndex(String… indices)
void deleteIndex(Class… searchableClasses)
Parameters
Without parameters,
deletes all indices.
indices
- A Collection
of indices to delete.
searchableClasses
- A Collection
of searchable classes which indices are to be deleted.