You are here

public function Apache_Solr_Service::setCollapseSingleValueArrays in Apache Solr Search 5

Set the collapse single value arrays flag.

Parameters

boolean $collapseSingleValueArrays:

File

SolrPhpClient/Apache/Solr/Service.php, line 441

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 setCollapseSingleValueArrays($collapseSingleValueArrays) {
  $this->_collapseSingleValueArrays = (bool) $collapseSingleValueArrays;
}