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