@@ 1349-1352 (lines=4) @@ | ||
1346 | if (isset($mapping['type']) && $mapping['type'] === 'file') { |
|
1347 | $mapping['file'] = true; |
|
1348 | } |
|
1349 | if (isset($mapping['file']) && $mapping['file'] === true) { |
|
1350 | $this->file = $mapping['fieldName']; |
|
1351 | $mapping['name'] = 'file'; |
|
1352 | } |
|
1353 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1354 | $this->distance = $mapping['fieldName']; |
|
1355 | } |
|
@@ 1353-1355 (lines=3) @@ | ||
1350 | $this->file = $mapping['fieldName']; |
|
1351 | $mapping['name'] = 'file'; |
|
1352 | } |
|
1353 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1354 | $this->distance = $mapping['fieldName']; |
|
1355 | } |
|
1356 | if (isset($mapping['id']) && $mapping['id'] === true) { |
|
1357 | $mapping['name'] = '_id'; |
|
1358 | $this->identifier = $mapping['fieldName']; |