Use root namespace in referencing Apache_Solr_Document
This commit is contained in:
parent
62ba531543
commit
da0a217aa0
|
@ -25,7 +25,7 @@ class Solr4Service_Core extends SolrService_Core
|
|||
* @inheritdoc
|
||||
* @see Solr4Service_Core::addDocuments
|
||||
*/
|
||||
public function addDocument(Apache_Solr_Document $document, $allowDups = false,
|
||||
public function addDocument(\Apache_Solr_Document $document, $allowDups = false,
|
||||
$overwritePending = true, $overwriteCommitted = true, $commitWithin = 0
|
||||
) {
|
||||
return $this->addDocuments(array($document), $allowDups, $overwritePending, $overwriteCommitted, $commitWithin);
|
||||
|
@ -52,4 +52,4 @@ class Solr4Service_Core extends SolrService_Core
|
|||
|
||||
return $this->add($rawPost);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue