@@ -114,6 +114,9 @@ discard block |
||
| 114 | 114 | $output->writeln('Finished re-indexing'); |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | + /** |
|
| 118 | + * @param boolean $commit |
|
| 119 | + */ |
|
| 117 | 120 | protected function indexIteratively(InputInterface $input, OutputInterface $output, $iterationCount, $commit) |
| 118 | 121 | { |
| 119 | 122 | if ($contentIds = $input->getOption('content-ids')) { |
@@ -168,6 +171,10 @@ discard block |
||
| 168 | 171 | $progress->finish(); |
| 169 | 172 | } |
| 170 | 173 | |
| 174 | + /** |
|
| 175 | + * @param integer $processCount |
|
| 176 | + * @param integer $iterationCount |
|
| 177 | + */ |
|
| 171 | 178 | private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit) |
| 172 | 179 | { |
| 173 | 180 | /** |