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