@@ -115,14 +115,14 @@ |
||
| 115 | 115 | |
| 116 | 116 | if (array_key_exists('properties', $content)) { |
| 117 | 117 | foreach ($content['properties'] as $property) { |
| 118 | - $search->setSource($content['name'] . '.' . $property); |
|
| 118 | + $search->setSource($content['name'].'.'.$property); |
|
| 119 | 119 | } |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | if (array_key_exists('findBy', $content)) { |
| 123 | 123 | foreach ($content['findBy'] as $field => $value) { |
| 124 | 124 | $search->addQuery( |
| 125 | - new TermsQuery($content['name'] . '.' . $field, is_array($value) ? $value : [$value]), |
|
| 125 | + new TermsQuery($content['name'].'.'.$field, is_array($value) ? $value : [$value]), |
|
| 126 | 126 | 'must' |
| 127 | 127 | ); |
| 128 | 128 | } |