@@ 1362-1365 (lines=4) @@ | ||
1359 | if (isset($mapping['type']) && $mapping['type'] === 'increment') { |
|
1360 | $mapping['strategy'] = self::STORAGE_STRATEGY_INCREMENT; |
|
1361 | } |
|
1362 | if (isset($mapping['file']) && $mapping['file'] === true) { |
|
1363 | $this->file = $mapping['fieldName']; |
|
1364 | $mapping['name'] = 'file'; |
|
1365 | } |
|
1366 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1367 | $this->distance = $mapping['fieldName']; |
|
1368 | } |
|
@@ 1366-1368 (lines=3) @@ | ||
1363 | $this->file = $mapping['fieldName']; |
|
1364 | $mapping['name'] = 'file'; |
|
1365 | } |
|
1366 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1367 | $this->distance = $mapping['fieldName']; |
|
1368 | } |
|
1369 | if (isset($mapping['id']) && $mapping['id'] === true) { |
|
1370 | $mapping['name'] = '_id'; |
|
1371 | $this->identifier = $mapping['fieldName']; |