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