@@ -355,14 +355,14 @@ |
||
355 | 355 | |
356 | 356 | if ($textQuery instanceof MultiMatch) { |
357 | 357 | $elasticaFields = $this->convertWeightedFieldsForElastica($this->fields); |
358 | - $textQuery->setFields($elasticaFields); |
|
359 | - $textQuery->setType('most_fields'); |
|
358 | + $textQuery->setFields($elasticaFields); |
|
359 | + $textQuery->setType('most_fields'); |
|
360 | 360 | |
361 | - //Setting the lenient flag means that numeric fields can be searched for text values |
|
362 | - $textQuery->setParam('lenient', true); |
|
361 | + //Setting the lenient flag means that numeric fields can be searched for text values |
|
362 | + $textQuery->setParam('lenient', true); |
|
363 | 363 | } |
364 | 364 | |
365 | - return $textQuery; |
|
365 | + return $textQuery; |
|
366 | 366 | } |
367 | 367 | |
368 | 368 |