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