Indexer.php
/**
     * Removes all documents of a complete core.
     *
     * @param string $core
     */
Removes all documents of a complete core.
@param string $core
Removes all documents of a complete core . @param string $core
public function emptyCore($core)
    {
        $this->setCoreNameFromMetadata(['core' => $core]);
        $update = $this->client->createUpdate();
        $update->addDeleteQuery('*:*');
        $update->addCommit();
        $this->client->update($update);
    }
public function emptyCore ( $ core ) { $ this -> setCoreNameFromMetadata ( [ 'core' => $ core ] ) ; $ update = $ this -> client -> createUpdate ( ) ; $ update -> addDeleteQuery ( '*:*' ) ; $ update -> addCommit ( ) ; $ this -> client -> update ( $ update ) ; }
Removes all documents of a complete core.
Removes all documents of a complete core .