Loading src/SearchAPI/BackendClient.php +4 −0 Original line number Diff line number Diff line Loading @@ -238,6 +238,10 @@ class BackendClient implements BackendClientInterface { */ public function addIndex(IndexInterface $index): void { $indexId = $this->getIndexId($index); if ($this->indexExists($index)) { return; } try { $this->client->indices()->create([ 'index' => $indexId, Loading Loading
src/SearchAPI/BackendClient.php +4 −0 Original line number Diff line number Diff line Loading @@ -238,6 +238,10 @@ class BackendClient implements BackendClientInterface { */ public function addIndex(IndexInterface $index): void { $indexId = $this->getIndexId($index); if ($this->indexExists($index)) { return; } try { $this->client->indices()->create([ 'index' => $indexId, Loading