I noticed that rebuilding the search index does not work across domains anymore.
This PR fixes this issue.
The main reason being that $this->connection->isConnected() will always return false if nobody ever tried to connect before. $this->connection->isConnected() is lazy.
I noticed that rebuilding the search index does not work across domains anymore. This PR fixes this issue. The main reason being that
$this->connection->isConnected()
will always returnfalse
if nobody ever tried to connect before.$this->connection->isConnected()
is lazy.