Smile\ElasticsuiteCore\Indexer\GenericIndexerHandler::cleanIndex PHP Méthode

cleanIndex() public méthode

It allows to keep old index in place during full reindex. {@inheritDoc}
public cleanIndex ( $dimensions )
    public function cleanIndex($dimensions)
    {
        foreach ($dimensions as $dimension) {
            $this->indexOperation->createIndex($this->indexName, $dimension->getValue());
        }
        return $this;
    }