/**
  * Starts the Tika server
  *
  * @return void
  */
 public function startServerAction()
 {
     $this->tikaService->startServer();
     // give it some time to start
     sleep(2);
     if ($this->tikaService->isServerRunning()) {
         $this->addFlashMessage('Tika server started.', FlashMessage::OK);
     }
     $this->forwardToIndex();
 }