public function receive(Signal $signal)
{
if (!$signal instanceof Signal\LocationService\SwapLocationSignal) {
return;
}
$content1Info = $this->persistenceHandler->contentHandler()->loadContentInfo($signal->content1Id);
$content2Info = $this->persistenceHandler->contentHandler()->loadContentInfo($signal->content2Id);
$this->searchHandler->indexContent($this->persistenceHandler->contentHandler()->load($content1Info->id, $content1Info->currentVersionNo));
$this->searchHandler->indexContent($this->persistenceHandler->contentHandler()->load($content2Info->id, $content2Info->currentVersionNo));
$this->searchHandler->indexLocation($this->persistenceHandler->locationHandler()->load($signal->location1Id));
$this->searchHandler->indexLocation($this->persistenceHandler->locationHandler()->load($signal->location2Id));
}