| Conditions | 3 |
| Total Lines | 9 |
| Lines | 9 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | # frozen_string_literal: true |
||
| 16 | View Code Duplication | def load(indexes, config, show_progress = false, limit = nil, |
|
|
|
|||
| 17 | skip_existing = true) |
||
| 18 | limit = 1 if limit.nil? |
||
| 19 | |||
| 20 | indexes.map!(&:to_id_graph).uniq! if @backend.by_id_graph |
||
| 21 | indexes.uniq.each do |index| |
||
| 22 | load_index index, config, show_progress, limit, skip_existing |
||
| 23 | end |
||
| 24 | end |
||
| 25 | |||
| 49 |