Classes/Command/NodeIndexCommandController.php
protected function applyMapping(): void
    {
        $nodeTypeMappingCollection = $this->nodeTypeMappingBuilder->buildMappingInformation($this->nodeIndexer->getIndex());
        foreach ($nodeTypeMappingCollection as $mapping) {
            /** @var Mapping $mapping */
            $mapping->apply();
        }
        $this->logger->log('Updated Mapping.');
    }
protected function applyMapping(): void
    {
        $nodeTypeMappingCollection = $this->nodeTypeMappingBuilder->buildMappingInformation($this->nodeIndexer->getIndex());
        foreach ($nodeTypeMappingCollection as $mapping) {
            /** @var Mapping $mapping */
            $mapping->apply();
        }
        $this->logger->log('Updated Mapping.');
    }
protected function applyMapping ( ) : void { $ nodeTypeMappingCollection = $ this -> nodeTypeMappingBuilder -> buildMappingInformation ( $ this -> nodeIndexer -> getIndex ( ) ) ; foreach ( $ nodeTypeMappingCollection as $ mapping ) { /** @var Mapping $mapping */ $ mapping -> apply ( ) ; } $ this -> logger -> log ( 'Updated Mapping.' ) ; }
Apply the mapping to the current index.

@return void
@throws CRAException
Apply the mapping to the current index .