(files = this.concepts.slice(0).reverse())
| 68 | } |
| 69 | |
| 70 | makeNameSearchIndex(files = this.concepts.slice(0).reverse()) { |
| 71 | const map = new Map() |
| 72 | files.forEach(parsedConcept => this.makeNames(parsedConcept).forEach(name => map.set(name.toLowerCase(), parsedConcept))) |
| 73 | return map |
| 74 | } |
| 75 | |
| 76 | makeNames(concept) { |
| 77 | return [concept.id] |