@ Override public void deleteIndex ( final String indexName ) throws QueryException { Misc . checkNotNullOrEmpty ( indexName , "indexName" ) ; Future < Void > result = dbQueue . submitTransaction ( new DeleteIndexCallable ( indexName ) ) ; try { result . get ( ) ; } catch ( ExecutionException e ) { String message = "Execution error during index deletion" ; logger . log ( Level . SEVERE , message , e ) ; throw new QueryException ( message , e ) ; } catch ( InterruptedException e ) { String message = "Execution interrupted error during index deletion" ; logger . log ( Level . SEVERE , message , e ) ; throw new QueryException ( message , e ) ; } }
Delete an index .