Smile\ElasticsuiteCore\Index\IndexOperation::indexExists PHP Method

indexExists() public method

{@inheritDoc}
public indexExists ( $indexIdentifier, $store )
    public function indexExists($indexIdentifier, $store)
    {
        $exists = true;
        if (!isset($this->indicesByIdentifier[$indexIdentifier])) {
            $indexName = $this->indexSettings->getIndexAliasFromIdentifier($indexIdentifier, $store);
            $exists = $this->client->indices()->exists(['index' => $indexName]);
        }
        return $exists;
    }