Skip to content
Permalink
Browse files

fix comments

  • Loading branch information...
pierrejoye committed May 16, 2015
1 parent 8324b49 commit 3d1b20dcf2eae78be190406650cd69b6cc3b6011
Showing with 11 additions and 3 deletions.
  1. +1 −0 docker-compose.yml
  2. +10 −3 src/Controller/SearchController.php
@@ -3,6 +3,7 @@ redis:
command: redis-server --appendonly yes
volumes:
- ./data/redis:/data

elasticsearch:
image: elasticsearch
ports:
@@ -17,8 +17,7 @@ class SearchController extends ControllerAbstract
protected $client;
/**
* @param string $query
*
*
* @return bool
*/
public function search()
@@ -43,7 +42,6 @@ public function search()
}
/**
* @param string $query
*
* @return bool
*/
@@ -75,6 +73,10 @@ public function searchHtml()
return true;
}
/**
*
* @return bool
*/
public function createIndex()
{
$es = $this->app->container->get('elastica.client');
@@ -84,6 +86,11 @@ public function createIndex()
return true;
}
/**
* @var Extension
*
* @return bool
*/
public function index(Extension $extension)
{
$es = $this->app->container->get('elastica.client');

0 comments on commit 3d1b20d

Please sign in to comment.
You can’t perform that action at this time.