|
@@ 1226-1229 (lines=4) @@
|
| 1223 |
|
if (isset($mapping['type']) && $mapping['type'] === 'increment') { |
| 1224 |
|
$mapping['strategy'] = self::STORAGE_STRATEGY_INCREMENT; |
| 1225 |
|
} |
| 1226 |
|
if (isset($mapping['file']) && $mapping['file'] === true) { |
| 1227 |
|
$this->file = $mapping['fieldName']; |
| 1228 |
|
$mapping['name'] = 'file'; |
| 1229 |
|
} |
| 1230 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1231 |
|
$this->distance = $mapping['fieldName']; |
| 1232 |
|
} |
|
@@ 1230-1232 (lines=3) @@
|
| 1227 |
|
$this->file = $mapping['fieldName']; |
| 1228 |
|
$mapping['name'] = 'file'; |
| 1229 |
|
} |
| 1230 |
|
if (isset($mapping['distance']) && $mapping['distance'] === true) { |
| 1231 |
|
$this->distance = $mapping['fieldName']; |
| 1232 |
|
} |
| 1233 |
|
if (isset($mapping['id']) && $mapping['id'] === true) { |
| 1234 |
|
$mapping['name'] = '_id'; |
| 1235 |
|
$this->identifier = $mapping['fieldName']; |