@@ 1124-1127 (lines=4) @@ | ||
1121 | if (isset($mapping['type']) && $mapping['type'] === 'file') { |
|
1122 | $mapping['file'] = true; |
|
1123 | } |
|
1124 | if (isset($mapping['file']) && $mapping['file'] === true) { |
|
1125 | $this->file = $mapping['fieldName']; |
|
1126 | $mapping['name'] = 'file'; |
|
1127 | } |
|
1128 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1129 | $this->distance = $mapping['fieldName']; |
|
1130 | } |
|
@@ 1128-1130 (lines=3) @@ | ||
1125 | $this->file = $mapping['fieldName']; |
|
1126 | $mapping['name'] = 'file'; |
|
1127 | } |
|
1128 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1129 | $this->distance = $mapping['fieldName']; |
|
1130 | } |
|
1131 | if (isset($mapping['id']) && $mapping['id'] === true) { |
|
1132 | $mapping['name'] = '_id'; |
|
1133 | $this->identifier = $mapping['fieldName']; |