Apache_Solr_Service_Balancer::addDocuments
Add an array of Solr Documents to the index all at once
Signature
public function addDocuments(array
$documents,
[boolean
$allowDups = false,
[boolean
$overwritePending = true,
[boolean
$overwriteCommitted = true]]] )
Parameters
$documents
—
array
- Should be an array of Apache_Solr_Document instances
$allowDups
—
boolean
$overwritePending
—
boolean
$overwriteCommitted
—
boolean
Returns
- Apache_Solr_Response
Errors/Exceptions
-
Apache_Solr_HttpTransportException
- If an error occurs during the service call