mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix minor CS issues / Syntax error
This commit is contained in:
@@ -344,6 +344,7 @@ class ElasticSearchEngine implements SearchEngineInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @todo Allow multiple hosts!
|
||||
* @return ElastcSearchEngine
|
||||
*/
|
||||
public static function create(Application $app, array $options = [])
|
||||
|
@@ -50,8 +50,7 @@ class Indexer
|
||||
$params['body']['settings']['number_of_shards'] = $this->options['shards'];
|
||||
$params['body']['settings']['number_of_replicas'] = $this->options['replicas'];
|
||||
|
||||
$params['body']['settings']['analysis'] = $this->getAnalysis();
|
||||
$params['body']['settings']['analysis'] = ;
|
||||
$params['body']['settings']['analysis'] = $this->getAnalysis();;
|
||||
|
||||
if ($withMapping) {
|
||||
// TODO Move term/record mapping logic in TermIndexer and a new RecordIndexer
|
||||
@@ -316,6 +315,7 @@ class Indexer
|
||||
return $fields;
|
||||
}
|
||||
|
||||
// @todo Add call to addAnalyzedVersion ?
|
||||
private function getRecordExifMapping()
|
||||
{
|
||||
$mapping = new Mapping();
|
||||
|
Reference in New Issue
Block a user