ElasticSearcher\Managers\IndicesManager::deleteType PHP Method

deleteType() public method

public deleteType ( string $indexName, string $type )
$indexName string
$type string
    public function deleteType($indexName, $type)
    {
        $index = $this->getRegistered($indexName);
        $params = ['index' => $index->getInternalName(), 'type' => $type];
        $this->elasticSearcher->getClient()->indices()->deleteMapping($params);
    }