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