Apache_Solr_Service_Balancer::addDocument
Add a Solr Document to the index
Signature
public function addDocument(Apache_Solr_Document
$document,
[boolean
$allowDups = false,
[boolean
$overwritePending = true,
[boolean
$overwriteCommitted = true]]] )
Parameters
$document
—
Apache_Solr_Document
$allowDups
—
boolean
$overwritePending
—
boolean
$overwriteCommitted
—
boolean
Returns
- Apache_Solr_Response
Errors/Exceptions
-
Apache_Solr_HttpTransportException
- If an error occurs during the service call