|
@@ 1342-1345 (lines=4) @@
|
| 1339 |
|
if (isset($mapping['type']) && $mapping['type'] === 'increment') { |
| 1340 |
|
$mapping['strategy'] = self::STORAGE_STRATEGY_INCREMENT; |
| 1341 |
|
} |
| 1342 |
|
if (isset($mapping['file']) && $mapping['file'] === true) { |
| 1343 |
|
$this->file = $mapping['fieldName']; |
| 1344 |
|
$mapping['name'] = 'file'; |
| 1345 |
|
} |
| 1346 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1347 |
|
$this->distance = $mapping['fieldName']; |
| 1348 |
|
} |
|
@@ 1346-1348 (lines=3) @@
|
| 1343 |
|
$this->file = $mapping['fieldName']; |
| 1344 |
|
$mapping['name'] = 'file'; |
| 1345 |
|
} |
| 1346 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1347 |
|
$this->distance = $mapping['fieldName']; |
| 1348 |
|
} |
| 1349 |
|
if (isset($mapping['id']) && $mapping['id'] === true) { |
| 1350 |
|
$mapping['name'] = '_id'; |
| 1351 |
|
$this->identifier = $mapping['fieldName']; |