@@ -63,8 +63,8 @@ |
||
63 | 63 | list ($field, $boost) = explode('^', $field); |
64 | 64 | } |
65 | 65 | |
66 | - $query = new MatchQuery($field, $state->getValue(), $this->parameters); |
|
67 | - !isset($boost) ? : $query->addParameter('boost', $boost); |
|
66 | + $query = new MatchQuery($field, $state->getValue(), $this->parameters); |
|
67 | + !isset($boost) ?: $query->addParameter('boost', $boost); |
|
68 | 68 | |
69 | 69 | if (isset($path)) { |
70 | 70 | $query = new NestedQuery($path, $query); |