public function Apache_Solr_Service::setCreateDocuments in Apache Solr Search 5
Set the create documents flag. This determines whether {@link Apache_Solr_Response} objects will parse the response and create {@link Apache_Solr_Document} instances in place.
Parameters
unknown_type $createDocuments:
File
- SolrPhpClient/
Apache/ Solr/ Service.php, line 421
Class
- Apache_Solr_Service
- Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.
Code
public function setCreateDocuments($createDocuments) {
$this->_createDocuments = (bool) $createDocuments;
}