Indexer.php
/**
     * Add multiple documents to the data store.
     *
     * @param \Solarium\QueryType\Update\Query\Query $updateQuery
     * @param array $documents
     */
Add multiple documents to the data store.
Add multiple documents to the data store .
protected function addDocuments(Query $updateQuery, array $documents)
    {
        $updateQuery->addDocuments($documents);
        $this->client->update($updateQuery);
    }
protected function addDocuments ( Query $ updateQuery , array $ documents ) { $ updateQuery -> addDocuments ( $ documents ) ; $ this -> client -> update ( $ updateQuery ) ; }
Add multiple documents to the data store.
Add multiple documents to the data store .