(PECL solr >= 2.2.0)
Sets the field to collapse on
public SolrCollapseFunction SolrCollapseFunction::setField ( string $field )
The field name to collapse on. In order to collapse a result. The field type must be a single valued String, Int or Float.
Parameters:
field
The field name to collapse on. In order to collapse a result. The field type must be a single valued String, Int or Float.
Returns:
Please login to continue.