eZ\Publish\Core\Search\Legacy\Content\WordIndexer\Gateway\DoctrineDatabase::bulkIndex PHP Method

bulkIndex() public method

Note: on large amounts of data make sure to iterate with several calls to this function with a limited set of FullTextData objects. Amount you have memory for depends on server, size of FullTextData objects & PHP version.
public bulkIndex ( array $fullTextBulkData )
$fullTextBulkData array
    public function bulkIndex(array $fullTextBulkData)
    {
        foreach ($fullTextBulkData as $fullTextData) {
            $this->index($fullTextData);
        }
    }