Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Indexer/CorpusIndexingCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function __invoke()
if (empty($this->corpusName)) {
throw new \BadMethodCallException('You need to set a corpus name on the corpus indexing command in order to execute it.');
}
$isFullUpdate = null === $this->deleteQuery;
$isFullUpdate = $this->shouldPreDelete;
$this->eventDispatcher->dispatch(SearchEvents::CORPUS_PRE_UPDATE, new CorpusPreUpdateEvent($this->getCorpus(), $isFullUpdate));
$logger = $this->getLogger();
$logger->info(sprintf('Indexing of corpus "%s" started.', $this->getCorpus()->getName()));
Expand Down