original_string: public function deleteIndex(): bool
      {
          $indexParams = [
              'index'   => $this->index,
              'timeout' => '5s',
          ];
  
          $this->client->indices()->delete($indexParams);
  
          $response = $this->client->cluster()->health([
              'index'           => $this->index,
              'wait_for_status' => 'yellow',
              'timeout'         => '5s',
          ]);
  
          return isset($response['status']) && $response['status'] !== 'red';
      }
code: public function deleteIndex(): bool
      {
          $indexParams = [
              'index'   => $this->index,
              'timeout' => '5s',
          ];
  
          $this->client->indices()->delete($indexParams);
  
          $response = $this->client->cluster()->health([
              'index'           => $this->index,
              'wait_for_status' => 'yellow',
              'timeout'         => '5s',
          ]);
  
          return isset($response['status']) && $response['status'] !== 'red';
      }
code_tokens: public function deleteIndex ( ) : bool { $ indexParams = [ 'index' => $ this -> index , 'timeout' => '5s' , ] ; $ this -> client -> indices ( ) -> delete ( $ indexParams ) ; $ response = $ this -> client -> cluster ( ) -> health ( [ 'index' => $ this -> index , 'wait_for_status' => 'yellow' , 'timeout' => '5s' , ] ) ; return isset ( $ response [ 'status' ] ) && $ response [ 'status' ] !== 'red' ; }
docstring: Deletes the index for this repository's ReadModel.
  
  @return True, if the index was successfully deleted
docstring_tokens: Deletes the index for this repository s ReadModel .