|
@@ 1166-1169 (lines=4) @@
|
| 1163 |
|
if (isset($mapping['type']) && $mapping['type'] === 'increment') { |
| 1164 |
|
$mapping['strategy'] = self::STORAGE_STRATEGY_INCREMENT; |
| 1165 |
|
} |
| 1166 |
|
if (isset($mapping['file']) && $mapping['file'] === true) { |
| 1167 |
|
$this->file = $mapping['fieldName']; |
| 1168 |
|
$mapping['name'] = 'file'; |
| 1169 |
|
} |
| 1170 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1171 |
|
$this->distance = $mapping['fieldName']; |
| 1172 |
|
} |
|
@@ 1170-1172 (lines=3) @@
|
| 1167 |
|
$this->file = $mapping['fieldName']; |
| 1168 |
|
$mapping['name'] = 'file'; |
| 1169 |
|
} |
| 1170 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1171 |
|
$this->distance = $mapping['fieldName']; |
| 1172 |
|
} |
| 1173 |
|
if (isset($mapping['id']) && $mapping['id'] === true) { |
| 1174 |
|
$mapping['name'] = '_id'; |
| 1175 |
|
$this->identifier = $mapping['fieldName']; |