Check that no plugin applications are using the index before deleting it.
Note:
When the index is deleted, the corresponding index database is also deleted. The disk space is reclaimed after the cleaner threads begin.
To remove an index from the database, run dsconfig with the
delete-local-db-index
option.
$ bin/dsconfig delete-local-db-index \
--index-name roomNumber --backend-name userRoot