Fix minor CS issues / Syntax error

This commit is contained in:
Damien Alexandre
2014-09-08 11:06:04 +02:00
parent 9355e83e22
commit fe3b67a2aa
2 changed files with 3 additions and 2 deletions

View File

@@ -344,6 +344,7 @@ class ElasticSearchEngine implements SearchEngineInterface
/**
* {@inheritdoc}
*
* @todo Allow multiple hosts!
* @return ElastcSearchEngine
*/
public static function create(Application $app, array $options = [])

View File

@@ -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();