|
@@ 1318-1321 (lines=4) @@
|
| 1315 |
|
if (isset($mapping['type']) && $mapping['type'] === 'increment') { |
| 1316 |
|
$mapping['strategy'] = self::STORAGE_STRATEGY_INCREMENT; |
| 1317 |
|
} |
| 1318 |
|
if (isset($mapping['file']) && $mapping['file'] === true) { |
| 1319 |
|
$this->file = $mapping['fieldName']; |
| 1320 |
|
$mapping['name'] = 'file'; |
| 1321 |
|
} |
| 1322 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1323 |
|
$this->distance = $mapping['fieldName']; |
| 1324 |
|
} |
|
@@ 1322-1324 (lines=3) @@
|
| 1319 |
|
$this->file = $mapping['fieldName']; |
| 1320 |
|
$mapping['name'] = 'file'; |
| 1321 |
|
} |
| 1322 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1323 |
|
$this->distance = $mapping['fieldName']; |
| 1324 |
|
} |
| 1325 |
|
if (isset($mapping['id']) && $mapping['id'] === true) { |
| 1326 |
|
$mapping['name'] = '_id'; |
| 1327 |
|
$this->identifier = $mapping['fieldName']; |