public function bulkIndexContent(array $contentObjects)
    {
        $documents = array();
        foreach ($contentObjects as $content) {
            $documents[] = $this->mapper->mapContent($content);
        }

        $this->gateway->bulkIndex($documents);
    }
public function bulkIndexContent(array $contentObjects)
    {
        $documents = array();
        foreach ($contentObjects as $content) {
            $documents[] = $this->mapper->mapContent($content);
        }

        $this->gateway->bulkIndex($documents);
    }
public function bulkIndexContent ( array $ contentObjects ) { $ documents = array ( ) ; foreach ( $ contentObjects as $ content ) { $ documents [ ] = $ this -> mapper -> mapContent ( $ content ) ; } $ this -> gateway -> bulkIndex ( $ documents ) ; }
Indexes several content objects.

@todo: This function and setCommit() is needed for Persistence\Solr for test speed but not part
of interface for the reason described in Solr\Content\Search\Gateway\Native::bulkIndexContent
Short: Bulk handling should be properly designed before added to the interface.

@param \eZ\Publish\SPI\Persistence\Content[] $contentObjects
Indexes several content objects .