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

refreshIndex() public method

{@inheritDoc}
public refreshIndex ( Smile\ElasticsuiteCore\Api\Index\IndexInterface $index )
$index Smile\ElasticsuiteCore\Api\Index\IndexInterface
    public function refreshIndex(IndexInterface $index)
    {
        try {
            $this->client->indices()->refresh(['index' => $index->getName()]);
        } catch (\Exception $e) {
            $this->logger->error($e->getMessage());
        }
        return $this;
    }