|
@@ 1296-1299 (lines=4) @@
|
| 1293 |
|
if (isset($mapping['type']) && $mapping['type'] === 'increment') { |
| 1294 |
|
$mapping['strategy'] = self::STORAGE_STRATEGY_INCREMENT; |
| 1295 |
|
} |
| 1296 |
|
if (isset($mapping['file']) && $mapping['file'] === true) { |
| 1297 |
|
$this->file = $mapping['fieldName']; |
| 1298 |
|
$mapping['name'] = 'file'; |
| 1299 |
|
} |
| 1300 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1301 |
|
$this->distance = $mapping['fieldName']; |
| 1302 |
|
} |
|
@@ 1300-1302 (lines=3) @@
|
| 1297 |
|
$this->file = $mapping['fieldName']; |
| 1298 |
|
$mapping['name'] = 'file'; |
| 1299 |
|
} |
| 1300 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1301 |
|
$this->distance = $mapping['fieldName']; |
| 1302 |
|
} |
| 1303 |
|
if (isset($mapping['id']) && $mapping['id'] === true) { |
| 1304 |
|
$mapping['name'] = '_id'; |
| 1305 |
|
$this->identifier = $mapping['fieldName']; |