Add elasticsearch reindex events

This commit is contained in:
Nicolas Le Goff
2015-01-02 18:47:21 +01:00
committed by Mathieu Darse
parent ad868dc70f
commit a01bf29c5b
73 changed files with 1708 additions and 182 deletions

View File

@@ -188,7 +188,7 @@ class ElasticSearchEngine implements SearchEngineInterface
*/
public function addRecord(\record_adapter $record)
{
$this->app['elasticsearch.indexer.record_indexer']->indexSingleRecord($record, $this->indexName);
$this->app['elasticsearch.indexer.record_indexer']->indexSingleRecord($record);
return $this;
}