mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Add elasticsearch reindex events
This commit is contained in:

committed by
Mathieu Darse

parent
ad868dc70f
commit
a01bf29c5b
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user