| @@ 55-57 (lines=3) @@ | ||
| 52 | continue; |
|
| 53 | } |
|
| 54 | ||
| 55 | if (isset($mappings[$typeName]['properties'][$fieldName]['index'])) { |
|
| 56 | unset($mappings[$typeName]['properties'][$fieldName]['index']); |
|
| 57 | } |
|
| 58 | ||
| 59 | if (isset($mappings[$typeName]['properties'][$fieldName]['boost'])) { |
|
| 60 | unset($mappings[$typeName]['properties'][$fieldName]['boost']); |
|
| @@ 59-61 (lines=3) @@ | ||
| 56 | unset($mappings[$typeName]['properties'][$fieldName]['index']); |
|
| 57 | } |
|
| 58 | ||
| 59 | if (isset($mappings[$typeName]['properties'][$fieldName]['boost'])) { |
|
| 60 | unset($mappings[$typeName]['properties'][$fieldName]['boost']); |
|
| 61 | } |
|
| 62 | } |
|
| 63 | } |
|
| 64 | $params['body']['mappings'] = $mappings; |
|